Skip to content

Commit 3fc04b9

Browse files
Fix VS Code IDE images configmap
1 parent aa4f633 commit 3fc04b9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

chart/templates/server-ide-configmap.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
{{ $comp := .Values.components.server -}}
55
{{- $this := dict "root" . "gp" $.Values "comp" $comp -}}
66

7+
{{- define "stable-image-full" -}}
8+
{{- $ := .root -}}
9+
{{- $gp := .gp -}}
10+
{{- $comp := .comp -}}
11+
{{ template "gitpod.comp.imageRepo" . }}:{{ $comp.stableVersion }}
12+
{{- end -}}
13+
714
{{- define "insider-image-full" -}}
815
{{- $ := .root -}}
916
{{- $gp := .gp -}}
@@ -14,8 +21,8 @@
1421
{{- define "ide-images-aliases"}}
1522
{{- $ := .root -}}
1623
{{- $gp := .gp -}}
17-
code-latest: {{ (include "gitpod.comp.imageFull" (dict "root" $ "gp" $gp "comp" $gp.components.workspace.codeImage)) }}
18-
code: {{ (include "insider-image-full" (dict "root" $ "gp" $gp "comp" $gp.components.workspace.codeImage)) }}
24+
code: {{ (include "stable-image-full" (dict "root" $ "gp" $gp "comp" $gp.components.workspace.codeImage)) }}
25+
code-latest: {{ (include "insider-image-full" (dict "root" $ "gp" $gp "comp" $gp.components.workspace.codeImage)) }}
1926
{{ end }}
2027

2128
{{- define "desktop-ide-images-aliases"}}

0 commit comments

Comments
 (0)