diff options
author | Mathias Merscher <Mathias.Merscher@dg-i.net> | 2016-10-04 08:02:00 +0200 |
---|---|---|
committer | Mathias Merscher <Mathias.Merscher@dg-i.net> | 2016-10-04 12:47:41 +0200 |
commit | cbc6a4256e6efa0c8080720c51ec254843a08677 (patch) | |
tree | accf7850b786a1eb328a5fd5a9f9479254d68f9b | |
parent | 9f22136fe973f698e079925553793f0b7170552d (diff) | |
download | openshift-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>
-rw-r--r-- | roles/openshift_master/templates/master.yaml.v1.j2 | 2 |
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: |