feat: enable annotations in redis pods

This commit is contained in:
Vinicius Dutra 2025-02-10 17:54:50 -03:00 committed by Vinicius Morais Dutra
parent 6ee6c9dc44
commit 1e87660292
2 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,10 @@ spec:
metadata: metadata:
labels: labels:
{{- include "websocket.redis.labels" . | nindent 8 }} {{- include "websocket.redis.labels" . | nindent 8 }}
annotations:
{{- with .Values.websocket.redis.pods.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
containers: containers:
- name: {{ .Values.websocket.redis.name }} - name: {{ .Values.websocket.redis.name }}

View File

@ -52,6 +52,10 @@ websocket:
labels: {} labels: {}
# -- Redis annotations # -- Redis annotations
annotations: {} annotations: {}
# -- Redis pod
pods:
# -- Redis pod annotations
annotations: {}
# -- Redis image # -- Redis image
image: image:
repository: redis repository: redis