diff --git a/bitnami/redis/Chart.yaml b/bitnami/redis/Chart.yaml index a5ca38050e..e59bd2c7fd 100644 --- a/bitnami/redis/Chart.yaml +++ b/bitnami/redis/Chart.yaml @@ -22,4 +22,4 @@ maintainers: name: redis sources: - https://github.com/bitnami/containers/tree/main/bitnami/redis -version: 17.8.2 +version: 17.8.3 diff --git a/bitnami/redis/README.md b/bitnami/redis/README.md index d82f4048c4..17bca708a8 100644 --- a/bitnami/redis/README.md +++ b/bitnami/redis/README.md @@ -196,6 +196,7 @@ The command removes all the Kubernetes components associated with the chart and | `master.persistence.accessModes` | Persistent Volume access modes | `["ReadWriteOnce"]` | | `master.persistence.size` | Persistent Volume size | `8Gi` | | `master.persistence.annotations` | Additional custom annotations for the PVC | `{}` | +| `master.persistence.labels` | Additional custom labels for the PVC | `{}` | | `master.persistence.selector` | Additional labels to match for the PVC | `{}` | | `master.persistence.dataSource` | Custom PVC data source | `{}` | | `master.persistence.existingClaim` | Use a existing PVC which must be created manually before bound | `""` | @@ -298,6 +299,7 @@ The command removes all the Kubernetes components associated with the chart and | `replica.persistence.accessModes` | Persistent Volume access modes | `["ReadWriteOnce"]` | | `replica.persistence.size` | Persistent Volume size | `8Gi` | | `replica.persistence.annotations` | Additional custom annotations for the PVC | `{}` | +| `replica.persistence.labels` | Additional custom labels for the PVC | `{}` | | `replica.persistence.selector` | Additional labels to match for the PVC | `{}` | | `replica.persistence.dataSource` | Custom PVC data source | `{}` | | `replica.persistence.existingClaim` | Use a existing PVC which must be created manually before bound | `""` | @@ -381,6 +383,7 @@ The command removes all the Kubernetes components associated with the chart and | `sentinel.persistence.accessModes` | Persistent Volume access modes | `["ReadWriteOnce"]` | | `sentinel.persistence.size` | Persistent Volume size | `100Mi` | | `sentinel.persistence.annotations` | Additional custom annotations for the PVC | `{}` | +| `sentinel.persistence.labels` | Additional custom labels for the PVC | `{}` | | `sentinel.persistence.selector` | Additional labels to match for the PVC | `{}` | | `sentinel.persistence.dataSource` | Custom PVC data source | `{}` | | `sentinel.persistence.medium` | Provide a medium for `emptyDir` volumes. | `""` | diff --git a/bitnami/redis/templates/master/application.yaml b/bitnami/redis/templates/master/application.yaml index e6388e2fa1..9c05393e7b 100644 --- a/bitnami/redis/templates/master/application.yaml +++ b/bitnami/redis/templates/master/application.yaml @@ -499,6 +499,9 @@ spec: name: redis-data labels: {{- include "common.labels.matchLabels" . | nindent 10 }} app.kubernetes.io/component: master + {{- if .Values.master.persistence.labels }} + {{- toYaml .Values.master.persistence.labels | nindent 4 }} + {{- end }} {{- if .Values.master.persistence.annotations }} annotations: {{- toYaml .Values.master.persistence.annotations | nindent 10 }} {{- end }} diff --git a/bitnami/redis/templates/master/pvc.yaml b/bitnami/redis/templates/master/pvc.yaml index e5fddb0349..ee2691ac43 100644 --- a/bitnami/redis/templates/master/pvc.yaml +++ b/bitnami/redis/templates/master/pvc.yaml @@ -6,6 +6,9 @@ metadata: namespace: {{ .Release.Namespace | quote }} labels: {{- include "common.labels.matchLabels" . | nindent 4 }} app.kubernetes.io/component: master + {{- if .Values.master.persistence.labels }} + {{- toYaml .Values.master.persistence.labels | nindent 4 }} + {{- end }} {{- if .Values.master.persistence.annotations }} annotations: {{- toYaml .Values.master.persistence.annotations | nindent 4 }} {{- end }} diff --git a/bitnami/redis/templates/replicas/statefulset.yaml b/bitnami/redis/templates/replicas/statefulset.yaml index 406bce136b..f94594316b 100644 --- a/bitnami/redis/templates/replicas/statefulset.yaml +++ b/bitnami/redis/templates/replicas/statefulset.yaml @@ -496,6 +496,9 @@ spec: name: redis-data labels: {{- include "common.labels.matchLabels" . | nindent 10 }} app.kubernetes.io/component: replica + {{- if .Values.replica.persistence.labels }} + {{- toYaml .Values.replica.persistence.labels | nindent 4 }} + {{- end }} {{- if .Values.replica.persistence.annotations }} annotations: {{- toYaml .Values.replica.persistence.annotations | nindent 10 }} {{- end }} diff --git a/bitnami/redis/templates/sentinel/statefulset.yaml b/bitnami/redis/templates/sentinel/statefulset.yaml index af563850a4..39a0ae3b7d 100644 --- a/bitnami/redis/templates/sentinel/statefulset.yaml +++ b/bitnami/redis/templates/sentinel/statefulset.yaml @@ -753,6 +753,9 @@ spec: name: sentinel-data labels: {{- include "common.labels.matchLabels" . | nindent 10 }} app.kubernetes.io/component: node + {{- if .Values.sentinel.persistence.labels }} + {{- toYaml .Values.sentinel.persistence.labels | nindent 4 }} + {{- end }} {{- if .Values.sentinel.persistence.annotations }} annotations: {{- toYaml .Values.sentinel.persistence.annotations | nindent 10 }} {{- end }} diff --git a/bitnami/redis/values.yaml b/bitnami/redis/values.yaml index 09516681ae..8fa7f0bdc2 100644 --- a/bitnami/redis/values.yaml +++ b/bitnami/redis/values.yaml @@ -446,6 +446,9 @@ master: ## @param master.persistence.annotations Additional custom annotations for the PVC ## annotations: {} + ## @param master.persistence.labels Additional custom labels for the PVC + ## + labels: {} ## @param master.persistence.selector Additional labels to match for the PVC ## e.g: ## selector: @@ -860,6 +863,9 @@ replica: ## @param replica.persistence.annotations Additional custom annotations for the PVC ## annotations: {} + ## @param replica.persistence.labels Additional custom labels for the PVC + ## + labels: {} ## @param replica.persistence.selector Additional labels to match for the PVC ## e.g: ## selector: @@ -1148,6 +1154,9 @@ sentinel: ## @param sentinel.persistence.annotations Additional custom annotations for the PVC ## annotations: {} + ## @param sentinel.persistence.labels Additional custom labels for the PVC + ## + labels: {} ## @param sentinel.persistence.selector Additional labels to match for the PVC ## e.g: ## selector: