summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-05-19 11:51:46 +0200
committerGitHub <noreply@github.com>2017-05-19 11:51:46 +0200
commitb99fa6451827088bf1a688dcad19f69de7fecbd1 (patch)
treeb67c0d0d1323472509038493560c01a512652f96 /roles/openshift_node
parent6cacc87bddbd23487e704eb2aaf2bd72d6a6f269 (diff)
parent7eb36e5ee16d9f2df9ead4198e6d0849c73af40d (diff)
downloadopenshift-b99fa6451827088bf1a688dcad19f69de7fecbd1.tar.gz
openshift-b99fa6451827088bf1a688dcad19f69de7fecbd1.tar.bz2
openshift-b99fa6451827088bf1a688dcad19f69de7fecbd1.tar.xz
openshift-b99fa6451827088bf1a688dcad19f69de7fecbd1.zip
Merge pull request #4125 from VincentS/Calico_BGP_Port
Added Calico BGP Port 179 to Firewalld
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/defaults/main.yml3
-rw-r--r--roles/openshift_node/meta/main.yml6
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