Skip to content

Commit 4c71c26

Browse files
authored
Add UI targetPort option (#437)
Use custom `targetPort` for UI service. See the usecase in #385 (comment)
1 parent e206fad commit 4c71c26

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

templates/ui-service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
ports:
2626
- name: {{ include "vault.scheme" . }}
2727
port: {{ .Values.ui.externalPort }}
28-
targetPort: 8200
28+
targetPort: {{ .Values.ui.targetPort }}
2929
{{- if .Values.ui.serviceNodePort }}
3030
nodePort: {{ .Values.ui.serviceNodePort }}
3131
{{- end }}

values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ ui:
665665
serviceType: "ClusterIP"
666666
serviceNodePort: null
667667
externalPort: 8200
668+
targetPort: 8200
668669

669670
# loadBalancerSourceRanges:
670671
# - 10.0.0.0/16

0 commit comments

Comments
 (0)