security group port are hardcoded in heat template

Bug #1607826 reported by Kevin Lefevre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Triaged
Wishlist
Unassigned

Bug Description

Security group port are hardcoded in heat templates for k8s (in coreos and atomic) maybe we could do something like :

 secgroup_kube_master:
    type: OS::Neutron::SecurityGroup
    properties:
      rules:
        - protocol: tcp
          port_range_min: 7080
          port_range_max: 7080
        - protocol: tcp
          port_range_min: {get_resource: kubernetes_insecure_port}
          port_range_max: {get_resource: kubernetes_insecure_port}
        - protocol: tcp
          port_range_min: 2379
          port_range_max: 2379
        - protocol: tcp
          port_range_min: 2380
          port_range_max: 2380
        - protocol: tcp
          port_range_min: {get_resource: kubernetes_port}
          port_range_max: {get_resource: kubernetes_port}
        - protocol: tcp
          port_range_min: 30000
          port_range_max: 32767

Revision history for this message
hongbin (hongbin034) wrote :
Adrian Otto (aotto)
Changed in magnum:
importance: Undecided → Wishlist
description: updated
hongbin (hongbin034)
Changed in magnum:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers