[bitnami/kafka] Add labels to volume claim template (#12641)

Signed-off-by: Milan Sladky <milan.sladky@sentinelone.com>

Signed-off-by: Milan Sladky <milan.sladky@sentinelone.com>
This commit is contained in:
Milan Sladky
2022-10-04 13:14:31 +02:00
committed by GitHub
parent c6997f2ad0
commit ec3aa60130
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -29,4 +29,4 @@ name: kafka
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/kafka
- https://kafka.apache.org/
version: 18.4.4
version: 18.5.0
+1
View File
@@ -290,6 +290,7 @@ The command removes all the Kubernetes components associated with the chart and
| `persistence.accessModes` | Persistent Volume Access Modes | `["ReadWriteOnce"]` |
| `persistence.size` | PVC Storage Request for Kafka data volume | `8Gi` |
| `persistence.annotations` | Annotations for the PVC | `{}` |
| `persistence.labels` | Labels for the PVC | `{}` |
| `persistence.selector` | Selector to match an existing Persistent Volume for Kafka data PVC. If set, the PVC can't have a PV dynamically provisioned for it | `{}` |
| `persistence.mountPath` | Mount path of the Kafka data volume | `/bitnami/kafka` |
| `logPersistence.enabled` | Enable Kafka logs persistence using PVC, note that ZooKeeper persistence is unaffected | `false` |
+3
View File
@@ -575,6 +575,9 @@ spec:
{{- if .Values.persistence.annotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.annotations "context" $) | nindent 10 }}
{{- end }}
{{- if .Values.persistence.labels }}
labels: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.labels "context" $) | nindent 10 }}
{{- end }}
spec:
accessModes:
{{- range .Values.persistence.accessModes }}
+3
View File
@@ -921,6 +921,9 @@ persistence:
## @param persistence.annotations Annotations for the PVC
##
annotations: {}
## @param persistence.labels Labels for the PVC
##
labels: {}
## @param persistence.selector Selector to match an existing Persistent Volume for Kafka data PVC. If set, the PVC can't have a PV dynamically provisioned for it
## selector:
## matchLabels: