Added nodeports to heat service

This commit is contained in:
Larry Rensing 2017-03-14 09:56:56 -05:00
parent 3e62cd54e2
commit b82e4fbd19
4 changed files with 30 additions and 0 deletions

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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