Skip to content

Commit

Permalink
Add UI targetPort option (#437)
Browse files Browse the repository at this point in the history
Use custom `targetPort` for UI service. See the usecase in #385 (comment)
  • Loading branch information
inigohu authored May 25, 2021
1 parent e206fad commit 4c71c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ui-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
ports:
- name: {{ include "vault.scheme" . }}
port: {{ .Values.ui.externalPort }}
targetPort: 8200
targetPort: {{ .Values.ui.targetPort }}
{{- if .Values.ui.serviceNodePort }}
nodePort: {{ .Values.ui.serviceNodePort }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ ui:
serviceType: "ClusterIP"
serviceNodePort: null
externalPort: 8200
targetPort: 8200

# loadBalancerSourceRanges:
# - 10.0.0.0/16
Expand Down

0 comments on commit 4c71c26

Please sign in to comment.