summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMathias Merscher <Mathias.Merscher@dg-i.net>2016-10-04 08:02:00 +0200
committerMathias Merscher <Mathias.Merscher@dg-i.net>2016-10-04 12:47:41 +0200
commitcbc6a4256e6efa0c8080720c51ec254843a08677 (patch)
treeaccf7850b786a1eb328a5fd5a9f9479254d68f9b /roles
parent9f22136fe973f698e079925553793f0b7170552d (diff)
downloadopenshift-cbc6a4256e6efa0c8080720c51ec254843a08677.tar.gz
openshift-cbc6a4256e6efa0c8080720c51ec254843a08677.tar.bz2
openshift-cbc6a4256e6efa0c8080720c51ec254843a08677.tar.xz
openshift-cbc6a4256e6efa0c8080720c51ec254843a08677.zip
Check if openshift_master_ingress_ip_network_cidr is defined
Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
Diffstat (limited to 'roles')
-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 b4d4c7067..4d45e8591 100644
--- a/roles/openshift_master/templates/master.yaml.v1.j2
+++ b/roles/openshift_master/templates/master.yaml.v1.j2
@@ -164,7 +164,7 @@ networkConfig:
# serviceNetworkCIDR must match kubernetesMasterConfig.servicesSubnet
serviceNetworkCIDR: {{ openshift.common.portal_net }}
externalIPNetworkCIDRs: {{ openshift_master_external_ip_network_cidrs | default(["0.0.0.0/0"]) | to_padded_yaml(1,2) }}
-{% if openshift_master_ingress_ip_network_cidr %}
+{% if openshift_master_ingress_ip_network_cidr is defined %}
ingressIPNetworkCIDR: {{ openshift_master_ingress_ip_network_cidr }}
{% endif %}
oauthConfig: