From 7218f7fd197cc41daf420ab5dcd3f36cba4ef2c0 Mon Sep 17 00:00:00 2001 From: viktoryathegreat Date: Mon, 5 Aug 2024 17:43:33 +0400 Subject: [PATCH] fix(DMVP-4884): Changed pvc name --- charts/base/templates/pvc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/base/templates/pvc.yaml b/charts/base/templates/pvc.yaml index 3bc425b..59c04d8 100644 --- a/charts/base/templates/pvc.yaml +++ b/charts/base/templates/pvc.yaml @@ -3,7 +3,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: {{ .name }} + name: {{ .persistentVolumeClaimName | default (include "base.fullname" .) }} labels: {{- include "base.labels" $ | nindent 4 }} {{- if .keepPvc }} @@ -23,6 +23,6 @@ spec: {{- if .enableDataSource }} dataSource: kind: PersistentVolumeClaim - name: {{ .name }} + name: {{ .persistentVolumeClaimName| default (include "base.fullname" .) }} {{- end }} {{- end }}