diff --git a/templates/ui-service.yaml b/templates/ui-service.yaml index a1498d5fd..9e90af4bb 100644 --- a/templates/ui-service.yaml +++ b/templates/ui-service.yaml @@ -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 }} diff --git a/values.yaml b/values.yaml index f6b513e80..5fe4290d5 100644 --- a/values.yaml +++ b/values.yaml @@ -665,6 +665,7 @@ ui: serviceType: "ClusterIP" serviceNodePort: null externalPort: 8200 + targetPort: 8200 # loadBalancerSourceRanges: # - 10.0.0.0/16