File tree 3 files changed +34
-2
lines changed
3 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 30
30
containers :
31
31
- name : installation-status
32
32
# This will normally be the release tag
33
- image : " eu.gcr.io/gitpod-core-dev/build/installer:tar-preview-telemetry.25 "
33
+ image : " eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-clusterip.8 "
34
34
command :
35
35
- /bin/sh
36
36
- -c
Original file line number Diff line number Diff line change 28
28
containers :
29
29
- name : installer
30
30
# This will normally be the release tag
31
- image : " eu.gcr.io/gitpod-core-dev/build/installer:tar-preview-telemetry.25 "
31
+ image : " eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-clusterip.8 "
32
32
volumeMounts :
33
33
- mountPath : /config-patch
34
34
name : config-patch
@@ -263,6 +263,15 @@ spec:
263
263
264
264
if [ '{{repl ConfigOptionEquals "advanced_mode_enabled" "1" }}' = "true" ];
265
265
then
266
+ echo "Gitpod: Applying advanced configuration"
267
+
268
+ if [ '{{repl ConfigOptionNotEquals "component_proxy_service_serviceType" "" }}' = "true" ];
269
+ then
270
+ # Empty string defaults to LoadBalancer. This maintains backwards compatibility with the deprecated experimental value
271
+ echo "Gitpod: Applying Proxy service type"
272
+ yq e -i ".components.proxy.service.serviceType = \"{{repl ConfigOption "component_proxy_service_serviceType" }}\"" "${CONFIG_FILE}"
273
+ fi
274
+
266
275
if [ '{{repl ConfigOptionNotEquals "customization_patch" "" }}' = "true" ];
267
276
then
268
277
CUSTOMIZATION='{{repl ConfigOptionData "customization_patch" | Base64Encode }}'
@@ -271,6 +280,8 @@ spec:
271
280
# Apply the customization property - if something else is set, this will be ignored
272
281
yq e -i ".customization = $(echo "${CUSTOMIZATION}" | base64 -d | yq e -o json '.customization' - | jq -rc) // []" "${CONFIG_FILE}"
273
282
fi
283
+ else
284
+ echo "Gitpod: No advanced configuration applied"
274
285
fi
275
286
276
287
echo "Gitpod: Update platform telemetry value"
Original file line number Diff line number Diff line change @@ -400,3 +400,24 @@ spec:
400
400
required : false
401
401
when : ' {{repl ConfigOptionEquals "advanced_mode_enabled" "1" }}'
402
402
help_text : A file with Gitpod config that will be used to patch the generated Gitpod config. Usually provided by Gitpod as a way to tailor your installation.
403
+
404
+ - name : components
405
+ title : Components
406
+ description : Customize your component configuration
407
+ when : ' {{repl ConfigOptionEquals "advanced_mode_enabled" "1" }}'
408
+ items :
409
+ - name : component_proxy_service_serviceType
410
+ title : Proxy service type
411
+ default : " "
412
+ help_text : |
413
+ Select the [Service Type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types)
414
+ for the Proxy service. If using anything other than "Load Balancer", you are responsible for configuring your network to route
415
+ traffic through to the `proxy` service.
416
+ type : select_one
417
+ items :
418
+ - name : " "
419
+ title : Load balancer
420
+ - name : ClusterIP
421
+ title : Cluster IP
422
+ - name : NodePort
423
+ title : Node port
You can’t perform that action at this time.
0 commit comments