Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
Merge pull request #274 from larryrensing/feat/add-nodeports-heat
Browse files Browse the repository at this point in the history
feat: Add NodePorts to heat service
  • Loading branch information
v1k0d3n authored Mar 21, 2017
2 parents 8ead46d + b82e4fb commit e111e8b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
7 changes: 7 additions & 0 deletions heat/templates/service-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

7 changes: 7 additions & 0 deletions heat/templates/service-cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

7 changes: 7 additions & 0 deletions heat/templates/service-cloudwatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

9 changes: 9 additions & 0 deletions heat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e111e8b

Please sign in to comment.