Also implement additional labels

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2021-10-04 22:49:20 +02:00
parent 4eb5ff92ea
commit bd96a94185
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,9 @@ 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.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.redis.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}

View file

@ -453,6 +453,7 @@ redis:
service:
annotations: {}
labels: {}
metrics:
enabled: false