Skip to content

Commit b0c96c6

Browse files
zackgalbreathmvandenburgh
authored andcommitted
Deploy cdash helm chart to cdash.spack.io
1 parent fbe7941 commit b0c96c6

File tree

10 files changed

+26
-290
lines changed

10 files changed

+26
-290
lines changed

k8s/production/cdash/certificates.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ spec:
99
issuerRef:
1010
name: letsencrypt
1111
kind: ClusterIssuer
12-
commonName: cdash.spack.io
1312
dnsNames:
1413
- cdash.spack.io

k8s/production/cdash/configmaps.yaml

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

k8s/production/cdash/cron-jobs.yaml

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

k8s/production/cdash/deployments.yaml

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

k8s/production/cdash/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ spec:
1616
paths:
1717
- backend:
1818
service:
19-
name: cdash
19+
name: cdash-website
2020
port:
21-
number: 80
21+
number: 8080
2222
path: /
2323
pathType: ImplementationSpecific

k8s/staging/cdash/release.yaml renamed to k8s/production/cdash/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ spec:
2828
spack.io/node-pool: base
2929

3030
cdash:
31-
host: cdash.staging.spack.io
31+
host: cdash.spack.io
3232
serviceAccountName: cdash
3333
website:
3434
resources:
3535
requests:
36-
memory: 50Mi
36+
memory: 512Mi
3737
worker:
38-
replicas: 1
38+
replicas: 2
3939
resources:
4040
requests:
41-
memory: 50Mi
41+
memory: 512Mi
4242

4343
postgresql:
4444
enabled: false

k8s/production/cdash/sealed-secrets.yaml

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

k8s/production/cdash/service-accounts.yaml

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

k8s/production/cdash/upgrade-db-schema.yaml

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

k8s/staging/cdash/kustomization.yaml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ resources:
55
- ../../production/cdash/certificates.yaml
66
- ../../production/cdash/ingress.yaml
77
- ../../production/cdash/namespace.yaml
8+
- ../../production/cdash/release.yaml
9+
- ../../production/cdash/namespace.yaml
810

911
patches:
1012
- target:
1113
kind: Certificate
1214
name: tls-cdash
1315
namespace: cdash
1416
patch: |-
15-
- op: replace
16-
path: /spec/commonName
17-
value: cdash.staging.spack.io
1817
- op: replace
1918
path: /spec/dnsNames/0
2019
value: cdash.staging.spack.io
@@ -27,3 +26,21 @@ patches:
2726
- op: replace
2827
path: /spec/rules/0/host
2928
value: cdash.staging.spack.io
29+
30+
- target:
31+
kind: HelmRelease
32+
name: cdash
33+
namespace: cdash
34+
patch: |-
35+
- op: replace
36+
path: /spec/values/cdash/host
37+
value: cdash.staging.spack.io
38+
- op: replace
39+
path: /spec/values/cdash/website/resources/requests/memory
40+
value: 50Mi
41+
- op: replace
42+
path: /spec/values/cdash/worker/replicas
43+
value: 1
44+
- op: replace
45+
path: /spec/values/cdash/worker/resources/requests/memory
46+
value: 50Mi

0 commit comments

Comments
 (0)