diff --git a/charts/argo-cd/templates/redis/service.yaml b/charts/argo-cd/templates/redis/service.yaml index 07070bef..0bdc75f7 100644 --- a/charts/argo-cd/templates/redis/service.yaml +++ b/charts/argo-cd/templates/redis/service.yaml @@ -6,7 +6,7 @@ metadata: name: {{ template "argo-cd.redis.fullname" . }} labels: {{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 4 }} - {{- with .Values.redis.serviceAnnotations }} + {{- with .Values.redis.service.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 075597ab..3bd93703 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -365,6 +365,10 @@ redis: enabled: true name: redis + # Annotations to be added to the provisioned service resource + service: + annotations: {} + image: repository: redis tag: 6.2.4-alpine @@ -395,9 +399,6 @@ redis: ## podAnnotations: {} - # Annotations to be added to the provisioned service resource - serviceAnnotations: {} - ## Labels to be added to the Redis server pods ## podLabels: {}