From 8748fa515b5b04b69bc30129af6d356f36a43a9b Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 13 Sep 2023 10:10:44 +0200 Subject: [PATCH] Correction to PVC --- .gitlab-ci.yml | 2 +- Chart/templates/persistentvolume.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 497806b..c1d9c3d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "1.0.6" + HELM_CHART_VERSION: "1.0.7" stages: - deploy diff --git a/Chart/templates/persistentvolume.yaml b/Chart/templates/persistentvolume.yaml index 24aedc4..dd91279 100644 --- a/Chart/templates/persistentvolume.yaml +++ b/Chart/templates/persistentvolume.yaml @@ -17,7 +17,7 @@ spec: namespace: blob-csi volumeAttributes: containername: {{ .Values.storage.cloud.container }} - csi.storage.k8s.io/pv/name: pv-{{ .Values.storage.cloud.container }}-cloud + csi.storage.k8s.io/pv/name: pv-{{ include "..name" . }}-cloud csi.storage.k8s.io/pvc/namespace: {{ .Release.Namespace }} secretnamespace: {{ .Release.Namespace }} skuName: {{ .Values.storage.cloud.sku | default "Premium_LRS" }}