-
Notifications
You must be signed in to change notification settings - Fork 6
/
clusters.cue
71 lines (66 loc) · 1.27 KB
/
clusters.cue
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package install
import (
"github.com/fluxcd/cues/pkg/cluster"
)
// Clusters holds the list of clusters where Flux should be installed.
clusters: [...cluster.#Install]
clusters: [local, aws, gcp]
local: cluster.#Install & {
name: "kind"
kubeconfig: context: "kind-\(name)"
flux: {
namespace: "flux-system"
components: cluster.Components.All
}
addons: [
#MetricsServer & {
spec: chart: version: "v3.x"
},
#Minio & {
spec: chart: version: "v3.x"
},
]
}
aws: cluster.#Install & {
name: "eks"
kubeconfig: context: "[email protected]@test.eu-central-1.eksctl.io"
flux: {
namespace: "flux-system"
version: "v0.28.5"
components: cluster.Components.All
}
addons: [
#CertManager & {
spec: chart: version: "v1.8.x"
},
#Kyverno & {
spec: chart: version: "v2.3.x"
},
#MetricsServer & {
spec: chart: version: "v3.8.x"
},
#Minio & {
spec: chart: version: "v3.6.x"
},
]
}
gcp: cluster.#Install & {
name: "gke"
kubeconfig: context: "gke_demo_europe-west4-a_test"
flux: {
namespace: "flux-system"
version: "v0.28.5"
components: cluster.Components.All
}
addons: [
#CertManager & {
spec: chart: version: "v1.8.x"
},
#Kyverno & {
spec: chart: version: "v2.3.x"
},
#Minio & {
spec: chart: version: "v3.6.x"
},
]
}