Skip to content

Commit dbf1e84

Browse files
committed
Refactor CDK scripts to not use gitpod chart
1 parent c9fa46a commit dbf1e84

File tree

6 files changed

+26
-427
lines changed

6 files changed

+26
-427
lines changed

bin/provision.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
import 'source-map-support/register';
44

5-
import * as cdk from '@aws-cdk/core';
5+
import { App } from '@aws-cdk/core';
66
import { ServicesStack } from '../lib/services';
77
import { AddonsStack } from '../lib/addons';
88
import { GitpodStack } from '../lib/gitpod';
99
import { SetupStack } from '../lib/setup';
1010

11-
const app = new cdk.App({});
11+
const app = new App({});
1212

1313
const region = app.node.tryGetContext('region');
1414
if (!region) {
@@ -54,9 +54,6 @@ const gitpod = new GitpodStack(app, 'Gitpod', {
5454
env,
5555
domain,
5656
certificateArn,
57-
58-
database: services.database,
59-
registry: services.registry,
6057
})
6158
gitpod.node.addDependency(services);
6259
gitpod.node.addDependency(addons);

lib/charts/assets/gitpod-values.yaml

Lines changed: 0 additions & 348 deletions
This file was deleted.

lib/charts/assets/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +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
18+
alb.ingress.kubernetes.io/target-node-labels: gitpod.io/workload_workspace_services=true
1919
alb.ingress.kubernetes.io/healthcheck-protocol: HTTPS
2020
alb.ingress.kubernetes.io/backend-protocol: HTTPS
2121
alb.ingress.kubernetes.io/listen-ports: >-

lib/charts/assets/jaeger-gitpod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
requiredDuringSchedulingIgnoredDuringExecution:
1010
nodeSelectorTerms:
1111
- matchExpressions:
12-
- key: gitpod.io/workload_services
12+
- key: gitpod.io/workload_meta
1313
operator: In
1414
values:
1515
- "true"

0 commit comments

Comments
 (0)