diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 26fa8f08..5ca4d16b 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -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" diff --git a/charts/argo-cd/templates/redis/service.yaml b/charts/argo-cd/templates/redis/service.yaml index 42842434..e02e33f2 100644 --- a/charts/argo-cd/templates/redis/service.yaml +++ b/charts/argo-cd/templates/redis/service.yaml @@ -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 }} \ No newline at end of file