diff options
author | Vincent Schwarzer <vincent.schwarzer@yahoo.de> | 2017-05-09 14:52:58 +0200 |
---|---|---|
committer | Vincent Schwarzer <vincent.schwarzer@yahoo.de> | 2017-05-15 08:53:42 +0200 |
commit | 7eb36e5ee16d9f2df9ead4198e6d0849c73af40d (patch) | |
tree | 3dad182b868fdcbd01dfc8a55053315b3e95dd59 | |
parent | f20bf5310aa6d1b8ca6fb418485b3a90750f9ee9 (diff) | |
download | openshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.tar.gz openshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.tar.bz2 openshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.tar.xz openshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.zip |
Added Calico BGP Port 179 to Firewalld
-rw-r--r-- | roles/openshift_node/defaults/main.yml | 3 | ||||
-rw-r--r-- | roles/openshift_node/meta/main.yml | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml index bf66ef1d6..5904ca9bc 100644 --- a/roles/openshift_node/defaults/main.yml +++ b/roles/openshift_node/defaults/main.yml @@ -9,3 +9,6 @@ os_firewall_allow: - service: OpenShift OVS sdn port: 4789/udp when: openshift.common.use_openshift_sdn | bool +- service: Calico BGP Port + port: 179/tcp + when: openshift.common.use_calico | bool diff --git a/roles/openshift_node/meta/main.yml b/roles/openshift_node/meta/main.yml index 0da41d0c1..3b7e8126a 100644 --- a/roles/openshift_node/meta/main.yml +++ b/roles/openshift_node/meta/main.yml @@ -33,6 +33,12 @@ dependencies: when: openshift.common.use_openshift_sdn | bool - role: os_firewall os_firewall_allow: + - service: Calico BGP Port + port: 179/tcp + when: openshift.common.use_calico | bool + +- role: os_firewall + os_firewall_allow: - service: Kubernetes service NodePort TCP port: "{{ openshift_node_port_range | default('') }}/tcp" - service: Kubernetes service NodePort UDP |