Create optional serviceAnnotations value for redis in helm chart

Signed-off-by: arunkumar.anandhan <arunkumar.anandhan@niceincontact.com>
This commit is contained in:
arunkumar.anandhan 2021-10-04 12:30:14 -06:00
parent e4f8dd5810
commit 50e4ceef3d
No known key found for this signature in database
GPG key ID: 0DFE6431E9F1EB28
3 changed files with 12 additions and 5 deletions

View file

@ -14,11 +14,11 @@ maintainers:
- name: alexmt
- name: jessesuen
- name: seanson
dependencies:
- name: redis-ha
version: 4.12.17
repository: https://dandydeveloper.github.io/charts/
condition: redis-ha.enabled
#dependencies:
# - name: redis-ha
# version: 4.12.17
# repository: https://dandydeveloper.github.io/charts/
# condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Fixed]: repoServer.extraContainers unused"

View file

@ -6,6 +6,10 @@ 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 }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ports:
- port: {{ .Values.redis.servicePort }}

View file

@ -395,6 +395,9 @@ redis:
##
podAnnotations: {}
# Annotations to be added to the provisioned service resource
serviceAnnotations: {}
## Labels to be added to the Redis server pods
##
podLabels: {}