From 04a445513351c07ca85e1f6a14e3183626078acb Mon Sep 17 00:00:00 2001 From: Frederic Lebouc Date: Fri, 3 Jan 2025 16:54:17 +0100 Subject: [PATCH] [bitnami/vault] Fix missing existing PVC volume declaration (#31202) Signed-off-by: Frederic Lebouc --- bitnami/vault/Chart.yaml | 2 +- bitnami/vault/templates/server/statefulset.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bitnami/vault/Chart.yaml b/bitnami/vault/Chart.yaml index 6b93752179c25a..fbac83ae773c87 100644 --- a/bitnami/vault/Chart.yaml +++ b/bitnami/vault/Chart.yaml @@ -35,4 +35,4 @@ maintainers: name: vault sources: - https://github.com/bitnami/charts/tree/main/bitnami/vault -version: 1.6.1 +version: 1.6.2 diff --git a/bitnami/vault/templates/server/statefulset.yaml b/bitnami/vault/templates/server/statefulset.yaml index 5943f8c85f00bb..9a4c1c21fecf7f 100644 --- a/bitnami/vault/templates/server/statefulset.yaml +++ b/bitnami/vault/templates/server/statefulset.yaml @@ -246,6 +246,11 @@ spec: name: {{ include "vault.server.configmapName" . }} - name: home emptyDir: {} + {{- if and .Values.server.persistence.enabled .Values.server.persistence.existingClaim }} + - name: data + persistentVolumeClaim: + claimName: {{ .Values.server.persistence.existingClaim }} + {{- end }} {{- if .Values.server.extraVolumes }} {{- include "common.tplvalues.render" (dict "value" .Values.server.extraVolumes "context" $) | nindent 8 }} {{- end }}