Bladeren bron

added node-secgroup to master_nodes

Jose David Martin Nieto 9 jaren geleden
bovenliggende
commit
4639514e29
1 gewijzigde bestanden met toevoegingen van 6 en 5 verwijderingen
  1. 6 5
      playbooks/openstack/openshift-cluster/files/heat_stack.yaml

+ 6 - 5
playbooks/openstack/openshift-cluster/files/heat_stack.yaml

@@ -346,16 +346,16 @@ resources:
           port_range_max: 22
           remote_ip_prefix: { get_param: ssh_incoming }
         - direction: ingress
-          protocol: udp
-          port_range_min: 4789
-          port_range_max: 4789
-          remote_mode: remote_group_id
-        - direction: ingress
           protocol: tcp
           port_range_min: 10250
           port_range_max: 10250
           remote_mode: remote_group_id
           remote_group_id: { get_resource: master-secgrp }
+        - direction: ingress
+          protocol: udp
+          port_range_min: 4789
+          port_range_max: 4789
+          remote_mode: remote_group_id
 
   infra-secgrp:
     type: OS::Neutron::SecurityGroup
@@ -473,6 +473,7 @@ resources:
           subnet:      { get_resource: subnet }
           secgrp:
             - { get_resource: master-secgrp }
+            - { get_resource: node-secgrp }
           floating_network: { get_param: external_net }
           net_name:
             str_replace: