summaryrefslogtreecommitdiffstats
path: root/roles/openstack-stack/templates
diff options
context:
space:
mode:
authorEric Sauer <etsauer@gmail.com>2017-09-12 11:54:35 -0400
committerTomas Sedovic <tomas@sedovic.cz>2017-09-12 17:54:35 +0200
commit074b3e526123da7a62c3d939859389c5f2a357b2 (patch)
tree5c48cf0a742039a3cb0ffb011f19f32af2276752 /roles/openstack-stack/templates
parentafd6a03b071eced6bd0940bb96a2a39233739523 (diff)
downloadopenshift-074b3e526123da7a62c3d939859389c5f2a357b2.tar.gz
openshift-074b3e526123da7a62c3d939859389c5f2a357b2.tar.bz2
openshift-074b3e526123da7a62c3d939859389c5f2a357b2.tar.xz
openshift-074b3e526123da7a62c3d939859389c5f2a357b2.zip
Add ability to support custom api and console ports (#712)
* Add ability to support custom api and console ports * Missed an ingress rule
Diffstat (limited to 'roles/openstack-stack/templates')
-rw-r--r--roles/openstack-stack/templates/heat_stack.yaml.j216
1 files changed, 12 insertions, 4 deletions
diff --git a/roles/openstack-stack/templates/heat_stack.yaml.j2 b/roles/openstack-stack/templates/heat_stack.yaml.j2
index b6b5e3613..1abc67207 100644
--- a/roles/openstack-stack/templates/heat_stack.yaml.j2
+++ b/roles/openstack-stack/templates/heat_stack.yaml.j2
@@ -193,8 +193,12 @@ resources:
port_range_max: 4001
- direction: ingress
protocol: tcp
- port_range_min: 8443
- port_range_max: 8444
+ port_range_min: {{ openshift_master_api_port|default(8443) }}
+ port_range_max: {{ openshift_master_api_port|default(8443) }}
+ - direction: ingress
+ protocol: tcp
+ port_range_min: {{ openshift_master_console_port|default(8443) }}
+ port_range_max: {{ openshift_master_console_port|default(8443) }}
- direction: ingress
protocol: tcp
port_range_min: 8053
@@ -284,8 +288,12 @@ resources:
port_range_max: 4001
- direction: ingress
protocol: tcp
- port_range_min: 8443
- port_range_max: 8444
+ port_range_min: {{ openshift_master_api_port|default(8443) }}
+ port_range_max: {{ openshift_master_api_port|default(8443) }}
+ - direction: ingress
+ protocol: tcp
+ port_range_min: {{ openshift_master_console_port|default(8443) }}
+ port_range_max: {{ openshift_master_console_port|default(8443) }}
- direction: ingress
protocol: tcp
port_range_min: 8053