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: alexmt
|
||||||
- name: jessesuen
|
- name: jessesuen
|
||||||
- name: seanson
|
- name: seanson
|
||||||
dependencies:
|
#dependencies:
|
||||||
- name: redis-ha
|
# - name: redis-ha
|
||||||
version: 4.12.17
|
# version: 4.12.17
|
||||||
repository: https://dandydeveloper.github.io/charts/
|
# repository: https://dandydeveloper.github.io/charts/
|
||||||
condition: redis-ha.enabled
|
# condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Fixed]: repoServer.extraContainers unused"
|
- "[Fixed]: repoServer.extraContainers unused"
|
||||||
|
|
|
@ -6,6 +6,10 @@ metadata:
|
||||||
name: {{ template "argo-cd.redis.fullname" . }}
|
name: {{ template "argo-cd.redis.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 4 }}
|
{{- 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:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.redis.servicePort }}
|
- port: {{ .Values.redis.servicePort }}
|
||||||
|
|
|
@ -395,6 +395,9 @@ redis:
|
||||||
##
|
##
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
# Annotations to be added to the provisioned service resource
|
||||||
|
serviceAnnotations: {}
|
||||||
|
|
||||||
## Labels to be added to the Redis server pods
|
## Labels to be added to the Redis server pods
|
||||||
##
|
##
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
Loading…
Reference in a new issue