summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorVincent Schwarzer <vincent.schwarzer@yahoo.de>2017-05-09 14:52:58 +0200
committerVincent Schwarzer <vincent.schwarzer@yahoo.de>2017-05-15 08:53:42 +0200
commit7eb36e5ee16d9f2df9ead4198e6d0849c73af40d (patch)
tree3dad182b868fdcbd01dfc8a55053315b3e95dd59 /roles/openshift_node
parentf20bf5310aa6d1b8ca6fb418485b3a90750f9ee9 (diff)
downloadopenshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.tar.gz
openshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.tar.bz2
openshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.tar.xz
openshift-7eb36e5ee16d9f2df9ead4198e6d0849c73af40d.zip
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