[bitnami/prometheus] fix: add apiVersion and kind to volumeClaimTemplates (#29290)

This commit is contained in:
Abdullah Alaqeel
2024-09-09 08:41:19 +03:00
committed by GitHub
parent f393472ab8
commit af223dbfd5
3 changed files with 10 additions and 4 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 1.3.20 (2024-09-06)
## 1.3.21 (2024-09-07)
* [bitnami/prometheus] Release 1.3.20 ([#29263](https://github.com/bitnami/charts/pull/29263))
* [bitnami/prometheus] fix: add apiVersion and kind to volumeClaimTemplates ([#29290](https://github.com/bitnami/charts/pull/29290))
## <small>1.3.20 (2024-09-06)</small>
* [bitnami/prometheus] Release 1.3.20 (#29263) ([c09f49a](https://github.com/bitnami/charts/commit/c09f49a1761a29b200314f28cea1cbbfd70ebee1)), closes [#29263](https://github.com/bitnami/charts/issues/29263)
## <small>1.3.19 (2024-08-27)</small>

View File

@@ -36,4 +36,4 @@ sources:
- https://github.com/bitnami/containers/tree/main/bitnami/prometheus
- https://github.com/prometheus/prometheus
- https://github.com/prometheus-community/helm-charts
version: 1.3.20
version: 1.3.21

View File

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