mirror of
https://github.com/bitnami/charts.git
synced 2026-04-02 07:17:26 +08:00
[bitnami/redis] Add commonLabels also to pods: master, replicas, sentinel (#14244)
* Add commonLabels also to pods Signed-off-by: Byron Collins <Byron.Collins@rymanhealthcare.com> * bump version Signed-off-by: Byron Collins <Byron.Collins@rymanhealthcare.com> --------- Signed-off-by: Byron Collins <Byron.Collins@rymanhealthcare.com> Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Co-authored-by: Byron Collins <Byron.Collins@rymanhealthcare.com> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
@@ -22,4 +22,4 @@ maintainers:
|
|||||||
name: redis
|
name: redis
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/bitnami/containers/tree/main/bitnami/redis
|
- https://github.com/bitnami/containers/tree/main/bitnami/redis
|
||||||
version: 17.7.2
|
version: 17.7.3
|
||||||
|
|||||||
@@ -37,6 +37,9 @@ spec:
|
|||||||
{{- if .Values.master.podLabels }}
|
{{- if .Values.master.podLabels }}
|
||||||
{{- include "common.tplvalues.render" ( dict "value" .Values.master.podLabels "context" $ ) | nindent 8 }}
|
{{- include "common.tplvalues.render" ( dict "value" .Values.master.podLabels "context" $ ) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.commonLabels }}
|
||||||
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if and .Values.metrics.enabled .Values.metrics.podLabels }}
|
{{- if and .Values.metrics.enabled .Values.metrics.podLabels }}
|
||||||
{{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podLabels "context" $ ) | nindent 8 }}
|
{{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podLabels "context" $ ) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -36,6 +36,9 @@ spec:
|
|||||||
{{- if .Values.replica.podLabels }}
|
{{- if .Values.replica.podLabels }}
|
||||||
{{- include "common.tplvalues.render" ( dict "value" .Values.replica.podLabels "context" $ ) | nindent 8 }}
|
{{- include "common.tplvalues.render" ( dict "value" .Values.replica.podLabels "context" $ ) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.commonLabels }}
|
||||||
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if and .Values.metrics.enabled .Values.metrics.podLabels }}
|
{{- if and .Values.metrics.enabled .Values.metrics.podLabels }}
|
||||||
{{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podLabels "context" $ ) | nindent 8 }}
|
{{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podLabels "context" $ ) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ spec:
|
|||||||
{{- if .Values.replica.podLabels }}
|
{{- if .Values.replica.podLabels }}
|
||||||
{{- include "common.tplvalues.render" ( dict "value" .Values.replica.podLabels "context" $ ) | nindent 8 }}
|
{{- include "common.tplvalues.render" ( dict "value" .Values.replica.podLabels "context" $ ) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.commonLabels }}
|
||||||
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if and .Values.metrics.enabled .Values.metrics.podLabels }}
|
{{- if and .Values.metrics.enabled .Values.metrics.podLabels }}
|
||||||
{{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podLabels "context" $ ) | nindent 8 }}
|
{{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podLabels "context" $ ) | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user