diff --git a/charts/jupyter-pyspark/Chart.yaml b/charts/jupyter-pyspark/Chart.yaml index 452e639f..1d8b5d68 100644 --- a/charts/jupyter-pyspark/Chart.yaml +++ b/charts/jupyter-pyspark/Chart.yaml @@ -24,7 +24,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.1.16 +version: 2.1.17 dependencies: - name: library-chart diff --git a/charts/jupyter-pyspark/templates/statefulset.yaml b/charts/jupyter-pyspark/templates/statefulset.yaml index cc2cf38c..6d0dc9ca 100644 --- a/charts/jupyter-pyspark/templates/statefulset.yaml +++ b/charts/jupyter-pyspark/templates/statefulset.yaml @@ -240,6 +240,10 @@ spec: - name: DARK_MODE value: "true" {{- end }} + {{- if .Values.service.customPythonEnv }} + - name: CUSTOM_PYTHON_ENV + value: "true" + {{- end }} envFrom: - secretRef: name: {{ include "library-chart.secretNameToken" . }} diff --git a/charts/jupyter-pyspark/values.schema.json b/charts/jupyter-pyspark/values.schema.json index af1e8f9d..4e17eb5e 100644 --- a/charts/jupyter-pyspark/values.schema.json +++ b/charts/jupyter-pyspark/values.schema.json @@ -59,6 +59,12 @@ } } } + }, + "customPythonEnv": { + "title": "custom python environment", + "type": "boolean", + "description": "Use a custom python environment", + "default": false } } }, diff --git a/charts/jupyter-pyspark/values.yaml b/charts/jupyter-pyspark/values.yaml index f625c15c..9626a789 100644 --- a/charts/jupyter-pyspark/values.yaml +++ b/charts/jupyter-pyspark/values.yaml @@ -9,7 +9,7 @@ service: custom: enabled: false version: "inseefrlab/onyxia-jupyter-pyspark:py3.12.6-spark3.5.3" - + customPythonEnv: false spark: sparkui: false configMapName: "" diff --git a/charts/jupyter-python/Chart.yaml b/charts/jupyter-python/Chart.yaml index d1baf00e..e3ad04b4 100644 --- a/charts/jupyter-python/Chart.yaml +++ b/charts/jupyter-python/Chart.yaml @@ -22,7 +22,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.1.15 +version: 2.1.16 dependencies: - name: library-chart diff --git a/charts/jupyter-python/templates/statefulset.yaml b/charts/jupyter-python/templates/statefulset.yaml index 97e719aa..1870c4eb 100644 --- a/charts/jupyter-python/templates/statefulset.yaml +++ b/charts/jupyter-python/templates/statefulset.yaml @@ -191,6 +191,10 @@ spec: - name: DARK_MODE value: "true" {{- end }} + {{- if .Values.service.customPythonEnv }} + - name: CUSTOM_PYTHON_ENV + value: "true" + {{- end }} envFrom: - secretRef: name: {{ include "library-chart.secretNameToken" . }} diff --git a/charts/jupyter-python/values.schema.json b/charts/jupyter-python/values.schema.json index 988c41a6..36d7a02e 100644 --- a/charts/jupyter-python/values.schema.json +++ b/charts/jupyter-python/values.schema.json @@ -59,6 +59,12 @@ } } } + }, + "customPythonEnv": { + "title": "custom python environment", + "type": "boolean", + "description": "Use a custom python environment", + "default": false } } }, diff --git a/charts/jupyter-python/values.yaml b/charts/jupyter-python/values.yaml index 09032557..882b8c5d 100644 --- a/charts/jupyter-python/values.yaml +++ b/charts/jupyter-python/values.yaml @@ -9,6 +9,7 @@ service: custom: enabled: false version: "inseefrlab/onyxia-jupyter-python:py3.12.6" + customPythonEnv: false security: password: "changeme" diff --git a/charts/vscode-pyspark/Chart.yaml b/charts/vscode-pyspark/Chart.yaml index 436694c9..c9c67b8b 100644 --- a/charts/vscode-pyspark/Chart.yaml +++ b/charts/vscode-pyspark/Chart.yaml @@ -24,7 +24,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.1.17 +version: 2.1.18 dependencies: - name: library-chart diff --git a/charts/vscode-pyspark/templates/statefulset.yaml b/charts/vscode-pyspark/templates/statefulset.yaml index d6200f1b..42807160 100644 --- a/charts/vscode-pyspark/templates/statefulset.yaml +++ b/charts/vscode-pyspark/templates/statefulset.yaml @@ -237,6 +237,10 @@ spec: - name: DARK_MODE value: "true" {{- end }} + {{- if .Values.service.customPythonEnv }} + - name: CUSTOM_PYTHON_ENV + value: "true" + {{- end }} envFrom: - secretRef: name: {{ include "library-chart.secretNameToken" . }} diff --git a/charts/vscode-pyspark/values.schema.json b/charts/vscode-pyspark/values.schema.json index 1115862d..f2b51fd4 100644 --- a/charts/vscode-pyspark/values.schema.json +++ b/charts/vscode-pyspark/values.schema.json @@ -59,6 +59,12 @@ } } } + }, + "customPythonEnv": { + "title": "custom python environment", + "type": "boolean", + "description": "Use a custom python environment", + "default": false } } }, diff --git a/charts/vscode-pyspark/values.yaml b/charts/vscode-pyspark/values.yaml index 487f0562..59706e0e 100644 --- a/charts/vscode-pyspark/values.yaml +++ b/charts/vscode-pyspark/values.yaml @@ -9,6 +9,7 @@ service: custom: enabled: false version: "inseefrlab/onyxia-vscode-pyspark:py3.12.6-spark3.5.3" + customPythonEnv: false spark: sparkui: false diff --git a/charts/vscode-python/Chart.yaml b/charts/vscode-python/Chart.yaml index 85f95ced..fe0f79a4 100644 --- a/charts/vscode-python/Chart.yaml +++ b/charts/vscode-python/Chart.yaml @@ -22,7 +22,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.1.16 +version: 2.1.17 dependencies: - name: library-chart diff --git a/charts/vscode-python/templates/statefulset.yaml b/charts/vscode-python/templates/statefulset.yaml index 2213a404..4d86427c 100644 --- a/charts/vscode-python/templates/statefulset.yaml +++ b/charts/vscode-python/templates/statefulset.yaml @@ -177,6 +177,10 @@ spec: - name: DARK_MODE value: "true" {{- end }} + {{- if .Values.service.customPythonEnv }} + - name: CUSTOM_PYTHON_ENV + value: "true" + {{- end }} envFrom: - secretRef: name : {{ include "library-chart.secretNameToken" . }} diff --git a/charts/vscode-python/values.schema.json b/charts/vscode-python/values.schema.json index 19badf22..aa294c7c 100644 --- a/charts/vscode-python/values.schema.json +++ b/charts/vscode-python/values.schema.json @@ -59,6 +59,12 @@ } } } + }, + "customPythonEnv": { + "title": "custom python environment", + "type": "boolean", + "description": "Use a custom python environment", + "default": false } } }, diff --git a/charts/vscode-python/values.yaml b/charts/vscode-python/values.yaml index 83755e34..bce639d0 100644 --- a/charts/vscode-python/values.yaml +++ b/charts/vscode-python/values.yaml @@ -9,6 +9,7 @@ service: custom: enabled: false version: "inseefrlab/onyxia-vscode-python:py3.12.6" + customPythonEnv: false security: password: "changeme"