diff --git a/heat/templates/service-api.yaml b/heat/templates/service-api.yaml index 723013891a..efde9ca0a1 100644 --- a/heat/templates/service-api.yaml +++ b/heat/templates/service-api.yaml @@ -19,5 +19,12 @@ metadata: spec: ports: - port: {{ .Values.network.api.port }} + {{ if .Values.network.api.node_port.enabled }} + nodePort: {{ .Values.network.api.node_port.port }} + {{ end }} selector: app: heat-api + {{ if .Values.network.api.node_port.enabled }} + type: NodePort + {{ end }} + \ No newline at end of file diff --git a/heat/templates/service-cfn.yaml b/heat/templates/service-cfn.yaml index 84c20a6fb5..2620d07aec 100644 --- a/heat/templates/service-cfn.yaml +++ b/heat/templates/service-cfn.yaml @@ -19,5 +19,12 @@ metadata: spec: ports: - port: {{ .Values.network.cfn.port }} + {{ if .Values.network.cfn.node_port.enabled }} + nodePort: {{ .Values.network.cfn.node_port.port }} + {{ end }} selector: app: heat-cfn + {{ if .Values.network.cfn.node_port.enabled }} + type: NodePort + {{ end }} + \ No newline at end of file diff --git a/heat/templates/service-cloudwatch.yaml b/heat/templates/service-cloudwatch.yaml index a1fb726fcd..8f2c75dd7b 100644 --- a/heat/templates/service-cloudwatch.yaml +++ b/heat/templates/service-cloudwatch.yaml @@ -19,5 +19,12 @@ metadata: spec: ports: - port: {{ .Values.network.cloudwatch.port }} + {{ if .Values.network.cloudwatch.node_port.enabled }} + nodePort: {{ .Values.network.cloudwatch.node_port.port }} + {{ end }} selector: app: heat-cloudwatch + {{ if .Values.network.cloudwatch.node_port.enabled }} + type: NodePort + {{ end }} + \ No newline at end of file diff --git a/heat/values.yaml b/heat/values.yaml index c07fa3539a..c807bd67be 100644 --- a/heat/values.yaml +++ b/heat/values.yaml @@ -82,14 +82,23 @@ network: name: "heat-api" port: 8004 proto: "http" + node_port: + enabled: false + port: 30004 cfn: name: "heat-cfn" port: 8000 proto: "http" + node_port: + enabled: false + port: 30800 cloudwatch: name: "heat-cloudwatch" port: 8003 proto: "http" + node_port: + enabled: false + port: 30003 database: address: mariadb