Create optional serviceAnnotations value for redis in helm chart
Signed-off-by: arunkumar.anandhan <arunkumar.anandhan@niceincontact.com>
This commit is contained in:
parent
e4f8dd5810
commit
4ddd69bc2d
3 changed files with 12 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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: {}
|
||||
|
|
Loading…
Reference in a new issue