summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-05-18 09:22:15 -0400
committerRussell Teague <rteague@redhat.com>2017-05-18 09:22:15 -0400
commitebb1b751b9623eb2f9b265737e6d032ba5c5da3c (patch)
tree96c7173086f6656dcaf999bcbb61ab9b489891b1
parentb1c0247fdeb01f46e885c57cd272786d00ac8490 (diff)
downloadopenshift-ebb1b751b9623eb2f9b265737e6d032ba5c5da3c.tar.gz
openshift-ebb1b751b9623eb2f9b265737e6d032ba5c5da3c.tar.bz2
openshift-ebb1b751b9623eb2f9b265737e6d032ba5c5da3c.tar.xz
openshift-ebb1b751b9623eb2f9b265737e6d032ba5c5da3c.zip
Fix auditConfig for non-HA environments
Bug 1447019
-rw-r--r--roles/openshift_master/templates/master.yaml.v1.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2
index 938ac2a12..ef0256af9 100644
--- a/roles/openshift_master/templates/master.yaml.v1.j2
+++ b/roles/openshift_master/templates/master.yaml.v1.j2
@@ -44,10 +44,10 @@ assetConfig:
- {{ cipher_suite }}
{% endfor %}
{% endif %}
-{% if openshift_master_ha | bool %}
{% if openshift.master.audit_config | default(none) is not none and openshift.common.version_gte_3_2_or_1_2 | bool %}
auditConfig:{{ openshift.master.audit_config | to_padded_yaml(level=1) }}
{% endif %}
+{% if openshift_master_ha | bool %}
controllerLeaseTTL: {{ openshift.master.controller_lease_ttl | default('30') }}
{% endif %}
{% if openshift.common.version_gte_3_3_or_1_3 | bool %}