From fbbeb2e40767ce220747a1835cbe2bda61c13ef7 Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 13 Sep 2023 10:09:51 +0200 Subject: [PATCH] Fixed inconsistent pvc names --- .gitlab-ci.yml | 2 +- Chart/templates/persistentvolume.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index afd720c..497806b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "1.0.5" + HELM_CHART_VERSION: "1.0.6" stages: - deploy diff --git a/Chart/templates/persistentvolume.yaml b/Chart/templates/persistentvolume.yaml index 8d93727..24aedc4 100644 --- a/Chart/templates/persistentvolume.yaml +++ b/Chart/templates/persistentvolume.yaml @@ -17,11 +17,11 @@ spec: namespace: blob-csi volumeAttributes: containername: {{ .Values.storage.cloud.container }} - csi.storage.k8s.io/pv/name: pv-{{ include "..name" . }}-cloud + csi.storage.k8s.io/pv/name: pv-{{ .Values.storage.cloud.container }}-cloud csi.storage.k8s.io/pvc/namespace: {{ .Release.Namespace }} secretnamespace: {{ .Release.Namespace }} skuName: {{ .Values.storage.cloud.sku | default "Premium_LRS" }} - volumeHandle: {{ .Values.storage.cloud.class }}_{{ include "..fullname" . }} + volumeHandle: {{ .Values.storage.cloud.class }}_{{ .Values.storage.cloud.container }} mountOptions: - -o allow_other - --file-cache-timeout-in-seconds=120