fix: Use correct value for redis service targetPort

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2021-10-05 00:13:32 +02:00
parent ec3d45c798
commit 3005e7a409
2 changed files with 2 additions and 1 deletions

View file

@ -23,3 +23,4 @@ annotations:
artifacthub.io/changes: |
- "[Added]: Ability to provide annotations on redis service"
- "[Added]: Ability to provide additional labels on redis service"
- "[Fixed]: Use correct value for redis service targetPort"

View file

@ -16,7 +16,7 @@ metadata:
spec:
ports:
- port: {{ .Values.redis.servicePort }}
targetPort: {{ .Values.redis.servicePort }}
targetPort: {{ .Values.redis.containerPort }}
selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.redis.name) | nindent 4 }}
{{- end }}