Skip to content

Commit 72e822c

Browse files
Update KOTS app to release-2022.11.2.14
1 parent 315e28f commit 72e822c

File tree

4 files changed

+314
-39
lines changed

4 files changed

+314
-39
lines changed

install/kots/manifests/gitpod-installation-status.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
containers:
3131
- name: installation-status
3232
# This will normally be the release tag
33-
image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-fixes.0"
33+
image: "eu.gcr.io/gitpod-core-dev/build/installer:release-2022.11.2.16"
3434
envFrom:
3535
- configMapRef:
3636
name: gitpod-kots-config

install/kots/manifests/gitpod-installer-job.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
containers:
4040
- name: installer
4141
# This will normally be the release tag
42-
image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-fixes.0"
42+
image: "eu.gcr.io/gitpod-core-dev/build/installer:release-2022.11.2.16"
4343
volumeMounts:
4444
- mountPath: /mnt/node0
4545
name: node-fs0

install/kots/manifests/kots-app.yaml

+161-36
Large diffs are not rendered by default.

install/kots/manifests/kots-preflight.yaml

+151-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,157 @@ spec:
1212
name: validate-config
1313
namespace: '{{repl Namespace }}'
1414
podSpec:
15-
containers: []
15+
containers:
16+
- name: installer
17+
image: "eu.gcr.io/gitpod-core-dev/build/installer:release-2022.11.2.16"
18+
volumeMounts:
19+
- mountPath: /mnt/node0
20+
name: node-fs0
21+
readOnly: true
22+
- mountPath: /tmp
23+
name: temp-storage
24+
env:
25+
- name: MOUNT_PATH
26+
value: /mnt/node0
27+
- name: REGISTRY_DOCKER_CONFIG_JSON
28+
valueFrom:
29+
secretKeyRef:
30+
name: custom-registry-credentials
31+
key: .dockerconfigjson
32+
optional: true
33+
- name: EXTERNAL_DOCKER_CONFIG_JSON
34+
valueFrom:
35+
secretKeyRef:
36+
name: external-container-registry
37+
key: .dockerconfigjson
38+
optional: true
39+
- name: LOCAL_REGISTRY_IMAGE_PULL_DOCKER_CONFIG_JSON
40+
valueFrom:
41+
secretKeyRef:
42+
name: repl{{ ImagePullSecretName | quote }}
43+
key: .dockerconfigjson
44+
optional: true
45+
- name: GITPOD_INSTALLER_CONFIG
46+
value: /tmp/gitpod-config.yaml
47+
- name: GITPOD_OBJECTS
48+
value: /tmp/gitpod
49+
- name: CURSOR
50+
value: repl{{ Cursor | quote }}
51+
- name: DISTRIBUTION
52+
value: repl{{ Distribution | quote }}
53+
- name: DOMAIN
54+
value: repl{{ ConfigOption "domain" | quote }}
55+
- name: NAMESPACE
56+
value: repl{{ Namespace | quote }}
57+
- name: OPEN_VSX_URL
58+
value: repl{{ ConfigOption "openVsxUrl" | quote }}
59+
- name: SSH_GATEWAY
60+
value: repl{{ ConfigOption "ssh_gateway" | quote }}
61+
- name: HTTP_PROXY_NAME
62+
value: '{{repl if (ConfigOptionEquals "enable_proxy_settings" "1" ) }}http-proxy-settings{{repl end }}'
63+
- name: LICENSE_NAME
64+
value: gitpod-license
65+
- name: SSH_GATEWAY_HOST_KEY_NAME
66+
value: ssh-gateway-host-key
67+
- name: DB_INCLUSTER_ENABLED
68+
value: repl{{ ConfigOption "db_incluster" | quote }}
69+
- name: DB_CLOUDSQL_ENABLED
70+
value: repl{{ ConfigOption "db_cloudsql_enabled" | quote }}
71+
- name: DB_CLOUDSQL_INSTANCE
72+
value: repl{{ ConfigOption "db_cloudsql_instance" | quote }}
73+
- name: DB_CLOUDSQL_SERVICE_ACCOUNT_NAME
74+
value: cloudsql
75+
- name: DB_EXTERNAL_CERTIFICATE_NAME
76+
value: database
77+
- name: HAS_LOCAL_REGISTRY
78+
value: repl{{ HasLocalRegistry | quote }}
79+
- name: LOCAL_REGISTRY_ADDRESS
80+
value: repl{{ LocalRegistryAddress | quote }}
81+
- name: LOCAL_REGISTRY_HOST
82+
value: repl{{ LocalRegistryHost | quote }}
83+
- name: IMAGE_PULL_SECRET_NAME
84+
value: repl{{ ImagePullSecretName | quote }}
85+
- name: REGISTRY_INCLUSTER_ENABLED
86+
value: repl{{ ConfigOption "reg_incluster" | quote }}
87+
- name: REGISTRY_URL
88+
value: repl{{ ConfigOption "reg_url" | quote }}
89+
- name: REGISTRY_INCLUSTER_STORAGE
90+
value: repl{{ ConfigOption "reg_incluster_storage" | quote }}
91+
- name: REGISTRY_INCLUSTER_STORAGE_S3_REGION
92+
value: repl{{ ConfigOption "reg_incluster_storage_s3_region" | quote }}
93+
- name: REGISTRY_INCLUSTER_STORAGE_S3_ENDPOINT
94+
value: repl{{ ConfigOption "reg_incluster_storage_s3_endpoint" | quote }}
95+
- name: REGISTRY_INCLUSTER_STORAGE_S3_BUCKET_NAME
96+
value: repl{{ ConfigOption "reg_incluster_storage_s3_bucketname" | quote }}
97+
- name: REGISTRY_INCLUSTER_STORAGE_S3_CERTIFICATE_NAME
98+
value: container-registry-s3-backend
99+
- name: REGISTRY_DOCKER_CONFIG_ENABLED
100+
value: repl{{ ConfigOption "reg_docker_config_enable" | quote }}
101+
- name: REGISTRY_EXTERNAL_CERTIFICATE_NAME
102+
value: container-registry
103+
- name: STORE_PROVIDER
104+
value: repl{{ ConfigOption "store_provider" | quote }}
105+
- name: STORE_REGION
106+
value: repl{{ ConfigOption "store_region" | quote }}
107+
- name: STORE_GCP_PROJECT
108+
value: repl{{ ConfigOption "store_gcp_project" | quote }}
109+
- name: STORE_S3_ENDPOINT
110+
value: repl{{ ConfigOption "store_s3_endpoint" | quote }}
111+
- name: STORE_S3_BUCKET
112+
value: repl{{ ConfigOption "store_s3_bucket" | quote }}
113+
- name: STORE_AZURE_CREDENTIALS_NAME
114+
value: storage-azure
115+
- name: STORE_GCP_SERVICE_ACCOUNT_NAME
116+
value: storage-gcp
117+
- name: STORE_S3_CREDENTIALS_NAME
118+
value: storage-s3
119+
- name: CERT_MANAGER_ENABLED
120+
value: repl{{ ConfigOption "cert_manager_enabled" | quote }}
121+
- name: TLS_SELF_SIGNED_ENABLED
122+
value: repl{{ ConfigOption "tls_self_signed_enabled" | quote }}
123+
- name: TLS_CUSTOM_CA_CRT_ENABLED
124+
value: repl{{ ConfigOptionNotEquals "tls_ca_crt" "" | quote }}
125+
- name: TLS_CUSTOM_CA_CRT_CREDENTIALS_NAME
126+
value: ca-certificate
127+
- name: USER_MANAGEMENT_BLOCK_ENABLED
128+
value: repl{{ ConfigOption "user_management_block_enabled" | quote }}
129+
- name: USER_MANAGEMENT_BLOCK_PASSLIST
130+
value: repl{{ ConfigOption "user_management_block_passlist" | quote }}
131+
- name: ADVANCED_MODE_ENABLED
132+
value: repl{{ ConfigOption "advanced_mode_enabled" | quote }}
133+
- name: COMPONENT_PROXY_SERVICE_TYPE
134+
value: repl{{ ConfigOption "component_proxy_service_serviceType" | quote }}
135+
- name: CUSTOMIZATION_PATCH_ENABLED
136+
value: repl{{ ConfigOptionNotEquals "customization_patch" "" | quote }}
137+
- name: INSTALLER_TIMEOUT
138+
value: repl{{ ConfigOption "installer_timeout" | quote }}
139+
- name: CONFIG_PATCH
140+
value: repl{{ ConfigOptionData "config_patch" | default "" | quote }}
141+
- name: CUSTOMIZATION_PATCH
142+
value: repl{{ ConfigOptionData "customization_patch" | default "" | quote }}
143+
- name: INSTALLER_DRY_RUN
144+
value: "true"
145+
command:
146+
- /app/scripts/kots-install.sh
147+
affinity:
148+
nodeAffinity:
149+
requiredDuringSchedulingIgnoredDuringExecution:
150+
nodeSelectorTerms:
151+
- matchExpressions:
152+
- key: gitpod.io/workload_workspace_regular
153+
operator: Exists
154+
- matchExpressions:
155+
- key: gitpod.io/workload_workspace_headless
156+
operator: Exists
157+
serviceAccountName: kotsadm
158+
restartPolicy: OnFailure
159+
volumes:
160+
- name: node-fs0
161+
hostPath:
162+
path: /
163+
type: Directory
164+
- name: temp-storage
165+
emptyDir: {}
16166
- clusterResources:
17167
namespaces:
18168
- '{{repl Namespace }}'

0 commit comments

Comments
 (0)