Skip to content

Commit f38615d

Browse files
author
Manuel Ruck
committed
fix: update garden configuration to use manifestTemplates instead of files
Changed all instances of 'files: [./manifests/*]' to 'manifestTemplates: - ./manifests/*' in various garden.yml files to standardize the configuration format. This improves clarity and consistency across the project. upgrade garden 0.13 to 0.14 Signed-off-by: Manuel Ruck <[email protected]>
1 parent ded0975 commit f38615d

File tree

36 files changed

+101
-125
lines changed

36 files changed

+101
-125
lines changed

bundestag.io/admin/garden.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ variables:
3333
NON_NAMED_VOTES_AI_SECRET: ${actions.deploy.non-named-votes-ai.var.NON_NAMED_VOTES_AI_SECRET}
3434

3535
spec:
36-
files: [./manifests/*] # <--- Tell Garden what manifests to use
36+
manifestTemplates:
37+
- ./manifests/*
3738

3839
defaultTarget: # <--- This tells Garden what "target" to use for logs, code syncing and more
3940
kind: Deployment

bundestag.io/admin/manifests/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
ingressClassName: nginx
99
rules:
10-
- host: 'admin.${var.hostname}'
10+
- host: admin.${var.hostname}
1111
http:
1212
paths:
1313
- backend:

bundestag.io/api/garden.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ variables:
3030
BIO_EDIT_TOKEN: 'TOP_SECRET_LOCAL_TOKEN'
3131

3232
spec:
33-
files: [./manifests/*] # <--- Tell Garden what manifests to use
33+
manifestTemplates:
34+
- ./manifests/*
3435

3536
defaultTarget: # <--- This tells Garden what "target" to use for logs, code syncing and more
3637
kind: Deployment

bundestag.io/api/manifests/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
ingressClassName: nginx
99
rules:
10-
- host: 'bundestag-io-api.${var.hostname}'
10+
- host: bundestag-io-api.${var.hostname}
1111
http:
1212
paths:
1313
- backend:

democracy/desktop/garden.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ dependencies:
2727
- build.democracy-desktop
2828

2929
spec:
30-
files: [./manifests/*] # <--- Tell Garden what manifests to use
30+
manifestTemplates:
31+
- ./manifests/*
3132

3233
defaultTarget: # <--- This tells Garden what "target" to use for logs, code syncing and more
3334
kind: Deployment

democracy/desktop/manifests/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
ingressClassName: nginx
99
rules:
10-
- host: 'desktop.${var.hostname}'
10+
- host: desktop.${var.hostname}
1111
http:
1212
paths:
1313
- backend:

infra/democracy-api/garden.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ kind: Deploy
22
name: democracy-api
33
type: kubernetes
44
spec:
5-
files:
6-
- ./manifests/*
5+
manifestTemplates:
6+
- ./manifests/*

infra/democracy-api/manifests/Ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
ingressClassName: nginx
99
rules:
10-
- host: 'democracy-api.${var.hostname}'
10+
- host: democracy-api.${var.hostname}
1111
http:
1212
paths:
1313
- backend:

infra/mongo/garden.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ kind: Deploy
22
name: mongo
33
type: kubernetes
44
spec:
5-
files:
5+
manifestTemplates:
66
- ./manifests/*

infra/votes-ai/garden.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ varfiles:
1010
- ./.env
1111

1212
spec:
13-
files:
13+
manifestTemplates:
1414
- ./manifests/*

0 commit comments

Comments
 (0)