diff --git a/charts/application-hub/Chart.yaml b/charts/application-hub/Chart.yaml index b4b0cf6..fd2cd66 100644 --- a/charts/application-hub/Chart.yaml +++ b/charts/application-hub/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.0.47 +version: 2.0.48 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/application-hub/files/hub/config.yml b/charts/application-hub/files/hub/config.yml index d92d0b0..b1452d9 100644 --- a/charts/application-hub/files/hub/config.yml +++ b/charts/application-hub/files/hub/config.yml @@ -34,7 +34,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -80,7 +80,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -125,7 +125,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -167,7 +167,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -209,7 +209,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -251,7 +251,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -292,7 +292,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -340,7 +340,7 @@ profiles: - name: volume-workspace claim_name: claim-workspace size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: @@ -370,7 +370,7 @@ profiles: - name: volume-workspace claim_name: claim-dev size: 10Gi - storage_class: "managed-nfs-storage" + storage_class: "{{ .Values.jupyterhub.hub.extraEnv.STORAGE_CLASS }}" access_modes: - "ReadWriteOnce" volume_mount: diff --git a/charts/application-hub/templates/applicationhub-confimap.yaml b/charts/application-hub/templates/applicationhub-confimap.yaml index d330ef5..0d63d79 100644 --- a/charts/application-hub/templates/applicationhub-confimap.yaml +++ b/charts/application-hub/templates/applicationhub-confimap.yaml @@ -3,4 +3,4 @@ apiVersion: v1 metadata: name: application-hub-jupyter-config data: - {{- (.Files.Glob "files/hub/*").AsConfig | nindent 2 }} + {{- ( tpl (.Files.Glob "files/hub/*").AsConfig . ) | nindent 2 }}