From 5ffa3422315eb86f6cb65ffa1cca8517fd33d39e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hafd=C3=ADs=20Erla?= Date: Mon, 9 Dec 2024 15:33:30 +0000 Subject: [PATCH] release bigdata-notebook-workspace 0.0.19: Allow setting storage class name for PVCs --- charts/bigdata-notebook-workspace/Chart.yaml | 2 +- charts/bigdata-notebook-workspace/templates/pvc.yaml | 3 +++ charts/bigdata-notebook-workspace/values.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/bigdata-notebook-workspace/Chart.yaml b/charts/bigdata-notebook-workspace/Chart.yaml index 7aab88ed..d1b795ce 100644 --- a/charts/bigdata-notebook-workspace/Chart.yaml +++ b/charts/bigdata-notebook-workspace/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bigdata-notebook-workspace description: A Helm chart for the Spot Big Data Notebook Workspace type: application -version: 0.0.18 +version: 0.0.19 appVersion: 4.1.8-ofas-31799c9 home: https://github.com/spotinst/charts icon: https://docs.spot.io/_media/images/spot_mark.png diff --git a/charts/bigdata-notebook-workspace/templates/pvc.yaml b/charts/bigdata-notebook-workspace/templates/pvc.yaml index e7ff1d7b..b3c1f631 100644 --- a/charts/bigdata-notebook-workspace/templates/pvc.yaml +++ b/charts/bigdata-notebook-workspace/templates/pvc.yaml @@ -15,6 +15,9 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + {{- if .Values.pvc.storageClassName }} + storageClassName: {{ .Values.pvc.storageClassName }} + {{- end }} accessModes: - ReadWriteOnce resources: diff --git a/charts/bigdata-notebook-workspace/values.yaml b/charts/bigdata-notebook-workspace/values.yaml index a46d2179..3f9998bc 100644 --- a/charts/bigdata-notebook-workspace/values.yaml +++ b/charts/bigdata-notebook-workspace/values.yaml @@ -49,6 +49,7 @@ serviceAccount: pvc: create: true + storageClassName: "" requests: storage: 10Gi