Skip to content

Commit 02786a4

Browse files
committed
Update gitpod configuration
Signed-off-by: Manuel Alejandro de Brito Fontes <[email protected]>
1 parent e019501 commit 02786a4

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

lib/charts/assets/gitpod-values.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ affinity:
4343
requiredDuringSchedulingIgnoredDuringExecution:
4444
nodeSelectorTerms:
4545
- matchExpressions:
46-
- key: purpose
46+
- key: gitpod.io/workload_services
4747
operator: In
4848
values:
49-
- services
49+
- "true"
5050

5151
db:
52+
enabled: true
5253
host: "{{mysqlHostname}}"
5354
port: "{{mysqlPort}}"
5455
password: "{{mysqlPassword}}"
@@ -131,10 +132,10 @@ rabbitmq:
131132
requiredDuringSchedulingIgnoredDuringExecution:
132133
nodeSelectorTerms:
133134
- matchExpressions:
134-
- key: purpose
135+
- key: gitpod.io/workload_services
135136
operator: In
136137
values:
137-
- services
138+
- "true"
138139
podAntiAffinity:
139140
preferredDuringSchedulingIgnoredDuringExecution:
140141
- podAffinityTerm:
@@ -188,10 +189,10 @@ components:
188189
requiredDuringSchedulingIgnoredDuringExecution:
189190
nodeSelectorTerms:
190191
- matchExpressions:
191-
- key: purpose
192+
- key: gitpod.io/workload_workspaces
192193
operator: In
193194
values:
194-
- workspaces
195+
- "true"
195196
server:
196197
defaultFeatureFlags: [] # ["full_workspace_backup"]
197198
imageName: server
@@ -218,9 +219,9 @@ components:
218219

219220
workspace:
220221
affinity:
221-
default: workspaces
222-
supervisor:
223-
imageName: supervisor
222+
prebuild: "gitpod.io/workload_workspaces"
223+
probe: "gitpod.io/workload_workspaces"
224+
default: "gitpod.io/workload_workspaces"
224225
templates:
225226
default:
226227
spec:
@@ -286,10 +287,10 @@ components:
286287
requiredDuringSchedulingIgnoredDuringExecution:
287288
nodeSelectorTerms:
288289
- matchExpressions:
289-
- key: purpose
290+
- key: gitpod.io/workload_workspaces
290291
operator: In
291292
values:
292-
- workspaces
293+
- "true"
293294

294295
contentService:
295296
name: content-service
@@ -335,10 +336,10 @@ components:
335336
requiredDuringSchedulingIgnoredDuringExecution:
336337
nodeSelectorTerms:
337338
- matchExpressions:
338-
- key: purpose
339+
- key: gitpod.io/workload_services
339340
operator: In
340341
values:
341-
- services
342+
- "true"
342343
podAntiAffinity:
343344
preferredDuringSchedulingIgnoredDuringExecution:
344345
- podAffinityTerm:
@@ -348,7 +349,7 @@ components:
348349
operator: In
349350
values:
350351
- ws-proxy
351-
topologyKey: services
352+
topologyKey: "kubernetes.io/hostname"
352353
weight: 100
353354

354355
# configure default log level

lib/charts/assets/ingress.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ metadata:
1515
}
1616
}
1717
alb.ingress.kubernetes.io/tags: Purpose=Gitpod,Service=proxy
18+
alb.ingress.kubernetes.io/target-node-labels: gitpod.io/workload_workspaces=true
1819
alb.ingress.kubernetes.io/healthcheck-protocol: HTTPS
1920
alb.ingress.kubernetes.io/backend-protocol: HTTPS
2021
alb.ingress.kubernetes.io/scheme: internet-facing

lib/gitpod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Registry } from './registry';
77
import { importCluster } from './charts/cluster-utils';
88

99
// TODO: switch to official gitpod.io build
10-
const version = "aledbf-retag.19";
10+
const version = "aledbf-retag.27";
1111

1212
export interface GitpodProps extends cdk.StackProps {
1313
domain: string
@@ -47,7 +47,7 @@ export class GitpodStack extends cdk.Stack {
4747
release: 'gitpod',
4848
repository: 'https://aledbf.github.io/gitpod-chart-cleanup/',
4949
namespace: 'default',
50-
version: '1.0.31',
50+
version: '1.0.41',
5151
wait: true,
5252
values: loadYaml(doc),
5353
});

0 commit comments

Comments
 (0)