[bitnami/zookeeper] fix: add apiVersion and kind to volumeClaimTemplates (#29289)

This commit is contained in:
Abdullah Alaqeel
2024-09-09 07:41:07 +02:00
committed by GitHub
parent 3fe94e977c
commit f393472ab8
3 changed files with 13 additions and 5 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
# Changelog
## 13.4.11 (2024-08-30)
## 13.4.12 (2024-09-07)
* [bitnami/zookeeper] Release 13.4.11 ([#29137](https://github.com/bitnami/charts/pull/29137))
* [bitnami/zookeeper] fix: add apiVersion and kind to volumeClaimTemplates ([#29289](https://github.com/bitnami/charts/pull/29289))
## <small>13.4.11 (2024-08-30)</small>
* [bitnami/zookeeper] Release 13.4.11 (#29137) ([85b3d7a](https://github.com/bitnami/charts/commit/85b3d7af73a7c81cdbe12891ebec00cc4e2a5802)), closes [#29137](https://github.com/bitnami/charts/issues/29137)
## <small>13.4.10 (2024-07-25)</small>
+1 -1
View File
@@ -28,4 +28,4 @@ maintainers:
name: zookeeper
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/zookeeper
version: 13.4.11
version: 13.4.12
+6 -2
View File
@@ -519,7 +519,9 @@ spec:
{{- if and .Values.persistence.enabled (not (and .Values.persistence.existingClaim .Values.persistence.dataLogDir.existingClaim) ) }}
volumeClaimTemplates:
{{- if not .Values.persistence.existingClaim }}
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
{{- if .Values.persistence.annotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.annotations "context" $) | nindent 10 }}
@@ -541,7 +543,9 @@ spec:
{{- end }}
{{- end }}
{{- if and (not .Values.persistence.dataLogDir.existingClaim) .Values.dataLogDir }}
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data-log
{{- if .Values.persistence.annotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.annotations "context" $) | nindent 10 }}