File tree 3 files changed +30
-2
lines changed
3 files changed +30
-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.4 "
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.4 "
32
32
volumeMounts :
33
33
- mountPath : /config-patch
34
34
name : config-patch
@@ -263,6 +263,11 @@ spec:
263
263
264
264
if [ '{{repl ConfigOptionEquals "advanced_mode_enabled" "1" }}' = "true" ];
265
265
then
266
+ echo "Gitpod: Applying advanced configuration"
267
+
268
+ echo "Applying Proxy service type"
269
+ yq e -i ".components.proxy.service.serviceType = \"{{repl ConfigOption "component_proxy_service_serviceType" }}\"" "${CONFIG_FILE}"
270
+
266
271
if [ '{{repl ConfigOptionNotEquals "customization_patch" "" }}' = "true" ];
267
272
then
268
273
CUSTOMIZATION='{{repl ConfigOptionData "customization_patch" | Base64Encode }}'
@@ -271,6 +276,8 @@ spec:
271
276
# Apply the customization property - if something else is set, this will be ignored
272
277
yq e -i ".customization = $(echo "${CUSTOMIZATION}" | base64 -d | yq e -o json '.customization' - | jq -rc) // []" "${CONFIG_FILE}"
273
278
fi
279
+ else
280
+ echo "Gitpod: No advanced configuration applied"
274
281
fi
275
282
276
283
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 : LoadBalancer
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 : LoadBalancer
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