Add UI targetPort option (#437)
Use custom `targetPort` for UI service. See the usecase in https://github.com/hashicorp/vault-helm/issues/385#issuecomment-749560213
This commit is contained in:
parent
e206fadd9e
commit
4c71c268b9
2 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- name: {{ include "vault.scheme" . }}
|
- name: {{ include "vault.scheme" . }}
|
||||||
port: {{ .Values.ui.externalPort }}
|
port: {{ .Values.ui.externalPort }}
|
||||||
targetPort: 8200
|
targetPort: {{ .Values.ui.targetPort }}
|
||||||
{{- if .Values.ui.serviceNodePort }}
|
{{- if .Values.ui.serviceNodePort }}
|
||||||
nodePort: {{ .Values.ui.serviceNodePort }}
|
nodePort: {{ .Values.ui.serviceNodePort }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -665,6 +665,7 @@ ui:
|
||||||
serviceType: "ClusterIP"
|
serviceType: "ClusterIP"
|
||||||
serviceNodePort: null
|
serviceNodePort: null
|
||||||
externalPort: 8200
|
externalPort: 8200
|
||||||
|
targetPort: 8200
|
||||||
|
|
||||||
# loadBalancerSourceRanges:
|
# loadBalancerSourceRanges:
|
||||||
# - 10.0.0.0/16
|
# - 10.0.0.0/16
|
||||||
|
|
Loading…
Reference in a new issue