Merge pull request #274 from larryrensing/feat/add-nodeports-heat

feat: Add NodePorts to heat service
This commit is contained in:
Brandon B. Jozsa 2017-03-21 07:12:37 -04:00 committed by GitHub
commit e111e8bc6a
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