Browse Source

Don't emit assetConfig on 3.9

Scott Dodson 7 years ago
parent
commit
8cb61e9428
1 changed files with 3 additions and 0 deletions
  1. 3 0
      roles/openshift_master/templates/master.yaml.v1.j2

+ 3 - 0
roles/openshift_master/templates/master.yaml.v1.j2

@@ -5,6 +5,7 @@ admissionConfig:
 apiLevels:
 - v1
 apiVersion: v1
+{% if not openshift.common.version_gte_3_9 %}
 assetConfig:
   logoutURL: "{{ openshift.master.logout_url | default('') }}"
   masterPublicURL: {{ openshift.master.public_api_url }}
@@ -41,6 +42,8 @@ assetConfig:
     - {{ cipher_suite }}
 {% endfor %}
 {% endif %}
+# assetconfig end
+{% endif %}
 {% if openshift.master.audit_config | default(none) is not none %}
 auditConfig:{{ openshift.master.audit_config | lib_utils_to_padded_yaml(level=1) }}
 {% endif %}