From 725512e25554bee6bdd43f605a59606c6535d168 Mon Sep 17 00:00:00 2001 From: micedre Date: Thu, 11 Dec 2025 14:26:03 +0000 Subject: [PATCH 1/2] [vscode-*] Fix open in clone project at startup When cloning a repository ending in .git (as is usually the case) the basename command returned the wrong folder to open as workspace. Using a correct [basename](https://www.man7.org/linux/man-pages/man1/basename.1.html) should fix this --- charts/vscode-pyspark/Chart.yaml | 2 +- charts/vscode-pyspark/templates/statefulset.yaml | 2 +- charts/vscode-python-gpu/Chart.yaml | 2 +- charts/vscode-python-gpu/templates/statefulset.yaml | 2 +- charts/vscode-python/Chart.yaml | 2 +- charts/vscode-python/templates/statefulset.yaml | 2 +- charts/vscode-pytorch-gpu/Chart.yaml | 2 +- charts/vscode-pytorch-gpu/templates/statefulset.yaml | 2 +- charts/vscode-pytorch/Chart.yaml | 2 +- charts/vscode-pytorch/templates/statefulset.yaml | 2 +- charts/vscode-r-python-julia/Chart.yaml | 2 +- charts/vscode-r-python-julia/templates/statefulset.yaml | 2 +- charts/vscode-tensorflow-gpu/Chart.yaml | 2 +- charts/vscode-tensorflow-gpu/templates/statefulset.yaml | 2 +- charts/vscode-tensorflow/Chart.yaml | 2 +- charts/vscode-tensorflow/templates/statefulset.yaml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/charts/vscode-pyspark/Chart.yaml b/charts/vscode-pyspark/Chart.yaml index 4e109445b..54fda83f3 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: 3.0.1 +version: 3.0.2 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-pyspark/templates/statefulset.yaml b/charts/vscode-pyspark/templates/statefulset.yaml index 8a94de46c..2029124c2 100644 --- a/charts/vscode-pyspark/templates/statefulset.yaml +++ b/charts/vscode-pyspark/templates/statefulset.yaml @@ -219,7 +219,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-python-gpu/Chart.yaml b/charts/vscode-python-gpu/Chart.yaml index 569988442..4b602a7be 100644 --- a/charts/vscode-python-gpu/Chart.yaml +++ b/charts/vscode-python-gpu/Chart.yaml @@ -11,7 +11,7 @@ sources: - https://github.com/InseeFrLab/images-datascience - https://github.com/InseeFrLab/helm-charts-interactive-services type: application -version: 2.4.3 +version: 2.4.4 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-python-gpu/templates/statefulset.yaml b/charts/vscode-python-gpu/templates/statefulset.yaml index c3697dc54..6ac0638fc 100644 --- a/charts/vscode-python-gpu/templates/statefulset.yaml +++ b/charts/vscode-python-gpu/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-python/Chart.yaml b/charts/vscode-python/Chart.yaml index 0331752c3..e0f6d0077 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.4.3 +version: 2.4.4 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-python/templates/statefulset.yaml b/charts/vscode-python/templates/statefulset.yaml index c3697dc54..6cd8c29a6 100644 --- a/charts/vscode-python/templates/statefulset.yaml +++ b/charts/vscode-python/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY .git)"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-pytorch-gpu/Chart.yaml b/charts/vscode-pytorch-gpu/Chart.yaml index 132c09983..87652330e 100644 --- a/charts/vscode-pytorch-gpu/Chart.yaml +++ b/charts/vscode-pytorch-gpu/Chart.yaml @@ -11,7 +11,7 @@ sources: - https://github.com/InseeFrLab/images-datascience - https://github.com/InseeFrLab/helm-charts-interactive-services type: application -version: 2.4.3 +version: 2.4.4 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-pytorch-gpu/templates/statefulset.yaml b/charts/vscode-pytorch-gpu/templates/statefulset.yaml index c3697dc54..6ac0638fc 100644 --- a/charts/vscode-pytorch-gpu/templates/statefulset.yaml +++ b/charts/vscode-pytorch-gpu/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-pytorch/Chart.yaml b/charts/vscode-pytorch/Chart.yaml index 25b1cc069..b99660966 100644 --- a/charts/vscode-pytorch/Chart.yaml +++ b/charts/vscode-pytorch/Chart.yaml @@ -10,7 +10,7 @@ sources: - https://github.com/InseeFrLab/images-datascience - https://github.com/InseeFrLab/helm-charts-interactive-services type: application -version: 2.4.3 +version: 2.4.4 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-pytorch/templates/statefulset.yaml b/charts/vscode-pytorch/templates/statefulset.yaml index c3697dc54..6ac0638fc 100644 --- a/charts/vscode-pytorch/templates/statefulset.yaml +++ b/charts/vscode-pytorch/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-r-python-julia/Chart.yaml b/charts/vscode-r-python-julia/Chart.yaml index abd1cb44f..6658f8ef1 100644 --- a/charts/vscode-r-python-julia/Chart.yaml +++ b/charts/vscode-r-python-julia/Chart.yaml @@ -10,7 +10,7 @@ sources: - https://github.com/InseeFrLab/images-datascience - https://github.com/InseeFrLab/helm-charts-interactive-services type: application -version: 2.4.3 +version: 2.4.4 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-r-python-julia/templates/statefulset.yaml b/charts/vscode-r-python-julia/templates/statefulset.yaml index c3697dc54..6ac0638fc 100644 --- a/charts/vscode-r-python-julia/templates/statefulset.yaml +++ b/charts/vscode-r-python-julia/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-tensorflow-gpu/Chart.yaml b/charts/vscode-tensorflow-gpu/Chart.yaml index 4b83c46e9..417ad94f9 100644 --- a/charts/vscode-tensorflow-gpu/Chart.yaml +++ b/charts/vscode-tensorflow-gpu/Chart.yaml @@ -11,7 +11,7 @@ sources: - https://github.com/InseeFrLab/images-datascience - https://github.com/InseeFrLab/helm-charts-interactive-services type: application -version: 2.4.3 +version: 2.4.4 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-tensorflow-gpu/templates/statefulset.yaml b/charts/vscode-tensorflow-gpu/templates/statefulset.yaml index c3697dc54..6ac0638fc 100644 --- a/charts/vscode-tensorflow-gpu/templates/statefulset.yaml +++ b/charts/vscode-tensorflow-gpu/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-tensorflow/Chart.yaml b/charts/vscode-tensorflow/Chart.yaml index c27568ab3..a00e73b45 100644 --- a/charts/vscode-tensorflow/Chart.yaml +++ b/charts/vscode-tensorflow/Chart.yaml @@ -10,7 +10,7 @@ sources: - https://github.com/InseeFrLab/images-datascience - https://github.com/InseeFrLab/helm-charts-interactive-services type: application -version: 2.4.3 +version: 2.4.4 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-tensorflow/templates/statefulset.yaml b/charts/vscode-tensorflow/templates/statefulset.yaml index c3697dc54..6ac0638fc 100644 --- a/charts/vscode-tensorflow/templates/statefulset.yaml +++ b/charts/vscode-tensorflow/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} From 21984899ae3e5efbb7ffefda0368a50a59a11ca7 Mon Sep 17 00:00:00 2001 From: ihiverlet Date: Mon, 15 Dec 2025 10:43:20 +0000 Subject: [PATCH 2/2] clean & bump version --- charts/vscode-pyspark/Chart.yaml | 2 +- charts/vscode-python-gpu/templates/statefulset.yaml | 2 +- charts/vscode-python/Chart.yaml | 2 +- charts/vscode-pytorch-gpu/templates/statefulset.yaml | 2 +- charts/vscode-pytorch/templates/statefulset.yaml | 2 +- charts/vscode-r-python-julia/templates/statefulset.yaml | 2 +- charts/vscode-tensorflow-gpu/templates/statefulset.yaml | 2 +- charts/vscode-tensorflow/templates/statefulset.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/vscode-pyspark/Chart.yaml b/charts/vscode-pyspark/Chart.yaml index 54fda83f3..db7c314fe 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: 3.0.2 +version: 3.0.3 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-python-gpu/templates/statefulset.yaml b/charts/vscode-python-gpu/templates/statefulset.yaml index 6ac0638fc..c3697dc54 100644 --- a/charts/vscode-python-gpu/templates/statefulset.yaml +++ b/charts/vscode-python-gpu/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-python/Chart.yaml b/charts/vscode-python/Chart.yaml index e0f6d0077..e7d467473 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.4.4 +version: 2.4.5 dependencies: - name: library-chart version: 2.0.3 diff --git a/charts/vscode-pytorch-gpu/templates/statefulset.yaml b/charts/vscode-pytorch-gpu/templates/statefulset.yaml index 6ac0638fc..c3697dc54 100644 --- a/charts/vscode-pytorch-gpu/templates/statefulset.yaml +++ b/charts/vscode-pytorch-gpu/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-pytorch/templates/statefulset.yaml b/charts/vscode-pytorch/templates/statefulset.yaml index 6ac0638fc..c3697dc54 100644 --- a/charts/vscode-pytorch/templates/statefulset.yaml +++ b/charts/vscode-pytorch/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-r-python-julia/templates/statefulset.yaml b/charts/vscode-r-python-julia/templates/statefulset.yaml index 6ac0638fc..c3697dc54 100644 --- a/charts/vscode-r-python-julia/templates/statefulset.yaml +++ b/charts/vscode-r-python-julia/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-tensorflow-gpu/templates/statefulset.yaml b/charts/vscode-tensorflow-gpu/templates/statefulset.yaml index 6ac0638fc..c3697dc54 100644 --- a/charts/vscode-tensorflow-gpu/templates/statefulset.yaml +++ b/charts/vscode-tensorflow-gpu/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }} diff --git a/charts/vscode-tensorflow/templates/statefulset.yaml b/charts/vscode-tensorflow/templates/statefulset.yaml index 6ac0638fc..c3697dc54 100644 --- a/charts/vscode-tensorflow/templates/statefulset.yaml +++ b/charts/vscode-tensorflow/templates/statefulset.yaml @@ -171,7 +171,7 @@ spec: {{- end }} command: ["/bin/sh","-c"] {{- if .Values.git.asCodeServerRoot }} - args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY) .git"] + args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work/$(basename $GIT_REPOSITORY)"] {{- else }} args: ["{{ .Values.init.standardInitPath }} /usr/bin/code-server --host 0.0.0.0 /home/{{ .Values.environment.user }}/work"] {{- end }}