summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates/master.yaml.v1.j2
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-02 12:44:05 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-02 12:44:05 -0500
commit719ab11adadbcd2b608bef09f11512d746debb4c (patch)
tree41cdccd5d27241f0b82234349aadea9c636eae84 /roles/openshift_master/templates/master.yaml.v1.j2
parent63b19e964fcc09e60562fd253d725edcc2ec4aef (diff)
parenta9143d5d0e7245e12e0597fa5105fdcbb85e0846 (diff)
downloadopenshift-719ab11adadbcd2b608bef09f11512d746debb4c.tar.gz
openshift-719ab11adadbcd2b608bef09f11512d746debb4c.tar.bz2
openshift-719ab11adadbcd2b608bef09f11512d746debb4c.tar.xz
openshift-719ab11adadbcd2b608bef09f11512d746debb4c.zip
Merge pull request #772 from detiber/aep
Disable OpenShift features if installing Atomic Enterprise
Diffstat (limited to 'roles/openshift_master/templates/master.yaml.v1.j2')
-rw-r--r--roles/openshift_master/templates/master.yaml.v1.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2
index 527c5231a..73a0bc6cc 100644
--- a/roles/openshift_master/templates/master.yaml.v1.j2
+++ b/roles/openshift_master/templates/master.yaml.v1.j2
@@ -22,6 +22,9 @@ corsAllowedOrigins:
{% for custom_origin in openshift.master.custom_cors_origins | default("") %}
- {{ custom_origin }}
{% endfor %}
+{% if 'disabled_features' in openshift.master %}
+disabledFeatures: {{ openshift.master.disabled_features | to_json }}
+{% endif %}
{% if openshift.master.embedded_dns | bool %}
dnsConfig:
bindAddress: {{ openshift.master.bind_addr }}:{{ openshift.master.dns_port }}