-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.garden.yml
52 lines (47 loc) · 1.37 KB
/
project.garden.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: garden.io/v1
kind: Project
name: lbob
defaultEnvironment: prod
variables:
ci-env-name: ${project.name}-${local.env.CI_PIPELINE_IID || 0}
dev-env-name: ${project.name}-${local.username}
terraform-init-root: "./terraform"
environments:
- name: ci
defaultNamespace: ${var.ci-env-name}
variables:
hostname: ${var.ci-env-name}.ci.geese.party
- name: dev
defaultNamespace: ${var.dev-env-name}
variables:
hostname: ${var.dev-env-name}.dev.geese.party
- name: prod
defaultNamespace: ${project.name}
variables:
hostname: app.geese.party
providers:
- name: pulumi
- name: kubernetes
context: scw-kapsule-ams-2-devrel-1
kubeconfig: ${var.terraform-init-root}/${providers.terraform.outputs.kubeconfig_path}
namespace:
name: ${environment.namespace}
labels:
app: kubed
buildMode: cluster-buildkit
clusterBuildkit:
rootless: true
deploymentRegistry:
hostname: rg.nl-ams.scw.cloud
namespace: namespace-magical-austin
imagePullSecrets:
- name: registry-secret
namespace: default
setupIngressController: null
- name: terraform
initRoot: ${var.terraform-init-root}
allowDestroy: true
autoApply: true
variables:
cluster_name: "scw-kapsule-ams-2-devrel-1"
endpoint: "c50d7b47-1d34-40b5-b7c8-1709a6839609.api.k8s.nl-ams.scw.cloud:6443"