Browse Source

Merge pull request #4226 from mtnbikenc/fix-auditConfig

Merged by openshift-bot
OpenShift Bot 7 years ago
parent
commit
22dfad7ae3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_master/templates/master.yaml.v1.j2

+ 1 - 1
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 %}