From 7d5fda6f6997e2abfbe6da46262ba8d44a20c100 Mon Sep 17 00:00:00 2001 From: David Courtey Date: Sat, 9 Nov 2024 11:57:49 +0100 Subject: [PATCH] feat: remove volume name --- helm-charts/generic-app/Chart.yaml | 2 +- helm-charts/generic-app/templates/pvc.yaml | 1 - helm-charts/generic-app/tests/__snapshot__/pvc_test.yaml.snap | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/helm-charts/generic-app/Chart.yaml b/helm-charts/generic-app/Chart.yaml index 5658cd4..5f10c92 100644 --- a/helm-charts/generic-app/Chart.yaml +++ b/helm-charts/generic-app/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: generic-app description: A Helm Chart for Generic App type: application -version: 0.3.11 +version: 0.3.12 diff --git a/helm-charts/generic-app/templates/pvc.yaml b/helm-charts/generic-app/templates/pvc.yaml index 20b8b9d..c997706 100644 --- a/helm-charts/generic-app/templates/pvc.yaml +++ b/helm-charts/generic-app/templates/pvc.yaml @@ -83,7 +83,6 @@ spec: {{- else }} - ReadWriteOnce {{- end }} - volumeName: {{ $fullName }}-{{ $volumeName }} {{- if $volume.s3Driver }} storageClassName: "" # required for static provisioning resources: diff --git a/helm-charts/generic-app/tests/__snapshot__/pvc_test.yaml.snap b/helm-charts/generic-app/tests/__snapshot__/pvc_test.yaml.snap index 3214334..c28c573 100644 --- a/helm-charts/generic-app/tests/__snapshot__/pvc_test.yaml.snap +++ b/helm-charts/generic-app/tests/__snapshot__/pvc_test.yaml.snap @@ -40,7 +40,6 @@ should have s3 driver volume mounts: requests: storage: 1200Gi storageClassName: "" - volumeName: test-generic-app-public-files should have s3 driver volume mounts with host cache: 1: | apiVersion: v1 @@ -118,7 +117,6 @@ should have s3 driver volume mounts with host cache: requests: storage: 1200Gi storageClassName: "" - volumeName: test-generic-app-public-files should have volume mounts for data: 1: | apiVersion: v1 @@ -138,4 +136,3 @@ should have volume mounts for data: storage: 1Gi storageClassName: "" volumeMode: Filesystem - volumeName: test-generic-app-data