Przeglądaj źródła

Added Calico BGP Port 179 to Firewalld

Vincent Schwarzer 8 lat temu
rodzic
commit
7eb36e5ee1

+ 3 - 0
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

+ 6 - 0
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