Skip to content

Commit

Permalink
feat(helm): support configurable fixed httpNodePort (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyunwiii committed Apr 1, 2021
1 parent 57c11bd commit 594cda9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/akhq/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- if and (eq "NodePort" .Values.service.type) .Values.service.httpNodePort }}
nodePort: {{ .Values.service.httpNodePort }}
{{- end }}
selector:
app.kubernetes.io/name: {{ include "akhq.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
1 change: 1 addition & 0 deletions helm/akhq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ service:
enabled: true
type: ClusterIP
port: 80
#httpNodePort: 32551
labels: {}
annotations:
# cloud.google.com/load-balancer-type: "Internal"
Expand Down

0 comments on commit 594cda9

Please sign in to comment.