From 17e0a95bcecf169e678222c56aed22164899547b Mon Sep 17 00:00:00 2001 From: "arunkumar.anandhan" Date: Mon, 4 Oct 2021 15:04:23 -0600 Subject: [PATCH] update service annotation key for redis Signed-off-by: arunkumar.anandhan --- charts/argo-cd/templates/redis/service.yaml | 2 +- charts/argo-cd/values.yaml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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: {}