diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-10-31 11:33:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-31 11:33:25 -0700 |
commit | 67f1b16a6357143ac07b83b859994a34e4569b86 (patch) | |
tree | db2dcc0fe162c99242c125104af7719da4ac3006 /roles/openshift_master | |
parent | fffb5e5e516d018a8d4bd063bc439a0a81447e31 (diff) | |
parent | c088db59c873adb675439e9635c302115c50ba6d (diff) | |
download | openshift-67f1b16a6357143ac07b83b859994a34e4569b86.tar.gz openshift-67f1b16a6357143ac07b83b859994a34e4569b86.tar.bz2 openshift-67f1b16a6357143ac07b83b859994a34e4569b86.tar.xz openshift-67f1b16a6357143ac07b83b859994a34e4569b86.zip |
Merge pull request #5936 from sdodson/arbitrary-fw-rules
Automatic merge from submit-queue.
Add arbitrary firewall port config to master too
Diffstat (limited to 'roles/openshift_master')
-rw-r--r-- | roles/openshift_master/defaults/main.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_master/defaults/main.yml b/roles/openshift_master/defaults/main.yml index e78c78bb2..dafafda08 100644 --- a/roles/openshift_master/defaults/main.yml +++ b/roles/openshift_master/defaults/main.yml @@ -12,7 +12,7 @@ r_openshift_master_clean_install: false r_openshift_master_etcd3_storage: false r_openshift_master_os_firewall_enable: true r_openshift_master_os_firewall_deny: [] -r_openshift_master_os_firewall_allow: +default_r_openshift_master_os_firewall_allow: - service: api server https port: "{{ openshift.master.api_port }}/tcp" - service: api controllers https @@ -24,6 +24,8 @@ r_openshift_master_os_firewall_allow: - service: etcd embedded port: 4001/tcp cond: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}" +r_openshift_master_os_firewall_allow: "{{ default_r_openshift_master_os_firewall_allow | union(openshift_master_open_ports | default([])) }}" + # oreg_url is defined by user input oreg_host: "{{ oreg_url.split('/')[0] if (oreg_url is defined and '.' in oreg_url.split('/')[0]) else '' }}" |