File tree 5 files changed +26
-2
lines changed
5 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 177
177
# If certificate secret already exists, set the timeout to 5m
178
178
CERT_SECRET=$( kubectl get secrets -n " ${NAMESPACE} " https-certificates -o jsonpath=' {.metadata.name}' || echo ' ' )
179
179
HELM_TIMEOUT=" 5m"
180
+ if [ " ${ADVANCED_MODE_ENABLED} " = " 1" ]; then
181
+ HELM_TIMEOUT=" ${INSTALLER_TIMEOUT} "
182
+ fi
180
183
if [ " ${CERT_SECRET} " = " " ]; then
181
184
HELM_TIMEOUT=" 1h"
182
185
fi
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:sje-installer-version-script.2 "
33
+ image : " eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-fixes.0 "
34
34
envFrom :
35
35
- configMapRef :
36
36
name : gitpod-kots-config
Original file line number Diff line number Diff line change 39
39
containers :
40
40
- name : installer
41
41
# This will normally be the release tag
42
- image : " eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-version-script.2 "
42
+ image : " eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-fixes.0 "
43
43
volumeMounts :
44
44
- mountPath : /mnt/node0
45
45
name : node-fs0
Original file line number Diff line number Diff line change 74
74
ADVANCED_MODE_ENABLED : repl{{ ConfigOption "advanced_mode_enabled" | quote }}
75
75
COMPONENT_PROXY_SERVICE_TYPE : repl{{ ConfigOption "component_proxy_service_serviceType" | quote }}
76
76
CUSTOMIZATION_PATCH_ENABLED : repl{{ ConfigOptionNotEquals "customization_patch" "" | quote }} # Use comparison not value
77
+ INSTALLER_TIMEOUT : repl{{ ConfigOption "installer_timeout" | quote }}
77
78
78
79
# Customizations
79
80
CONFIG_PATCH : repl{{ ConfigOptionData "config_patch" | default "" | quote }}
Original file line number Diff line number Diff line change @@ -392,6 +392,26 @@ spec:
392
392
default : " 0"
393
393
help_text : Enables advanced customization options. Enable only when you know what you are doing!
394
394
395
+ - name : installer_timeout
396
+ title : Installer timeout
397
+ type : select_one
398
+ default : 5m
399
+ when : ' {{repl ConfigOptionEquals "advanced_mode_enabled" "1" }}'
400
+ help_text : Override the timeout for the Installer.
401
+ items :
402
+ - name : 5m
403
+ title : 5 minutes
404
+ - name : 10m
405
+ title : 10 minutes
406
+ - name : 30m
407
+ title : 30 minutes
408
+ - name : 1h
409
+ title : 1 hour
410
+ - name : 90m
411
+ title : 90 minutes
412
+ - name : 2h
413
+ title : 2 hours
414
+
395
415
- name : customization_patch
396
416
title : Gitpod customization patch (YAML file)
397
417
type : file
You can’t perform that action at this time.
0 commit comments