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: spec:
ports: ports:
- port: {{ .Values.network.api.port }} - port: {{ .Values.network.api.port }}
{{ if .Values.network.api.node_port.enabled }}
nodePort: {{ .Values.network.api.node_port.port }}
{{ end }}
selector: selector:
app: heat-api app: heat-api
{{ if .Values.network.api.node_port.enabled }}
type: NodePort
{{ end }}

View File

@ -19,5 +19,12 @@ metadata:
spec: spec:
ports: ports:
- port: {{ .Values.network.cfn.port }} - port: {{ .Values.network.cfn.port }}
{{ if .Values.network.cfn.node_port.enabled }}
nodePort: {{ .Values.network.cfn.node_port.port }}
{{ end }}
selector: selector:
app: heat-cfn app: heat-cfn
{{ if .Values.network.cfn.node_port.enabled }}
type: NodePort
{{ end }}

View File

@ -19,5 +19,12 @@ metadata:
spec: spec:
ports: ports:
- port: {{ .Values.network.cloudwatch.port }} - port: {{ .Values.network.cloudwatch.port }}
{{ if .Values.network.cloudwatch.node_port.enabled }}
nodePort: {{ .Values.network.cloudwatch.node_port.port }}
{{ end }}
selector: selector:
app: heat-cloudwatch app: heat-cloudwatch
{{ if .Values.network.cloudwatch.node_port.enabled }}
type: NodePort
{{ end }}

View File

@ -82,14 +82,23 @@ network:
name: "heat-api" name: "heat-api"
port: 8004 port: 8004
proto: "http" proto: "http"
node_port:
enabled: false
port: 30004
cfn: cfn:
name: "heat-cfn" name: "heat-cfn"
port: 8000 port: 8000
proto: "http" proto: "http"
node_port:
enabled: false
port: 30800
cloudwatch: cloudwatch:
name: "heat-cloudwatch" name: "heat-cloudwatch"
port: 8003 port: 8003
proto: "http" proto: "http"
node_port:
enabled: false
port: 30003
database: database:
address: mariadb address: mariadb