[bitnami/elasticsearch] fix: add apiVersion and kind to volumeClaimTemplates (#29362)

* fix: add apiVersion and kind to volumeClaimTemplates

Signed-off-by: Abdullah Alaqeel <abdullah.t.aqeel@gmail.com>
Signed-off-by: Abdullah Alaqeel <abdullah.alaqeel@fathom.io>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Abdullah Alaqeel <abdullah.t.aqeel@gmail.com>
Signed-off-by: Abdullah Alaqeel <abdullah.alaqeel@fathom.io>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Abdullah Alaqeel
2024-09-12 12:23:53 +03:00
committed by GitHub
parent 6d9c981f17
commit cf547d6743
4 changed files with 13 additions and 5 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 21.3.15 (2024-09-09)
## 21.3.16 (2024-09-11)
* [bitnami/elasticsearch] Release 21.3.15 ([#29303](https://github.com/bitnami/charts/pull/29303))
* [bitnami/elasticsearch] fix: add apiVersion and kind to volumeClaimTemplates ([#29362](https://github.com/bitnami/charts/pull/29362))
## <small>21.3.15 (2024-09-09)</small>
* [bitnami/elasticsearch] Release 21.3.15 (#29303) ([092082a](https://github.com/bitnami/charts/commit/092082a307547a2fcf7acc00c7ae48a1a3b53aa4)), closes [#29303](https://github.com/bitnami/charts/issues/29303)
## <small>21.3.14 (2024-09-09)</small>

View File

@@ -34,4 +34,4 @@ maintainers:
name: elasticsearch
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch
version: 21.3.15
version: 21.3.16

View File

@@ -432,7 +432,9 @@ spec:
whenScaled: {{ .Values.data.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "data"
{{- if or .Values.data.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.data.persistence.annotations .Values.commonAnnotations ) "context" . ) }}

View File

@@ -431,7 +431,9 @@ spec:
whenScaled: {{ .Values.master.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "data"
{{- if or .Values.master.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.master.persistence.annotations .Values.commonAnnotations ) "context" . ) }}