From ffa4eeb0e853fd63fced31d1bd443c6587354f87 Mon Sep 17 00:00:00 2001 From: Felix Luthman <34520175+felixlut@users.noreply.github.com> Date: Mon, 19 Jun 2023 12:34:16 +0200 Subject: [PATCH] [bitnami/PostgreSQL] Update statefulset to inlcude verbose PVC reference (#17140) * Update statefulset to inlcude verbose PVC Signed-off-by: Felix Luthman <34520175+felixlut@users.noreply.github.com> * Bump chart version Signed-off-by: Felix Luthman <34520175+felixlut@users.noreply.github.com> --------- Signed-off-by: Felix Luthman <34520175+felixlut@users.noreply.github.com> --- bitnami/postgresql/Chart.yaml | 2 +- bitnami/postgresql/templates/primary/statefulset.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bitnami/postgresql/Chart.yaml b/bitnami/postgresql/Chart.yaml index 519137879a..69fa72b76d 100644 --- a/bitnami/postgresql/Chart.yaml +++ b/bitnami/postgresql/Chart.yaml @@ -25,4 +25,4 @@ maintainers: name: postgresql sources: - https://github.com/bitnami/charts/tree/main/bitnami/postgresql -version: 12.5.7 +version: 12.5.8 diff --git a/bitnami/postgresql/templates/primary/statefulset.yaml b/bitnami/postgresql/templates/primary/statefulset.yaml index d9e922a06e..fa4937011c 100644 --- a/bitnami/postgresql/templates/primary/statefulset.yaml +++ b/bitnami/postgresql/templates/primary/statefulset.yaml @@ -620,7 +620,9 @@ spec: emptyDir: {} {{- else }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: data {{- if .Values.primary.persistence.annotations }} annotations: {{- include "common.tplvalues.render" (dict "value" .Values.primary.persistence.annotations "context" $) | nindent 10 }}