-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
121 lines (103 loc) · 1.95 KB
/
variables.tf
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#variable "github_token" {
# type = string
# description = "github token"
#}
variable "kind_cluster_name" {
type = string
description = "Cluster name"
default = "flux-conductr"
}
variable "kind_cluster_image" {
type = string
default = "kindest/node:v1.27.3"
}
variable "cilium_helmrelease_path" {
type = string
default = "../infrastructure/lib/config/cilium/release-cilium.yaml"
}
variable "containerd_config_patches" {
type = list(string)
default = []
}
/*
variable "cilium_version" {
type = string
default = "1.13.1"
}
variable "github_init" {
type = bool
default = false
description = "Initialize github files"
}
*/
variable "id_rsa_fluxbot_ro_path" {
type = string
default = null
}
variable "id_rsa_fluxbot_ro_pub_path" {
type = string
default = null
}
variable "additional_keys" {
type = map(any)
default = {}
}
variable "flux_kustomization_path" {
type = string
default = "../clusters/local/flux-system"
}
variable "dns_hosts" {
type = map(string)
default = null
}
variable "extra_mounts" {
type = list(map(string))
default = []
}
variable "extra_port_mappings" {
type = list(map(string))
default = [
{
container_port = 30080
host_port = 3000 # Grafana
},
{
container_port = 30180
host_port = 3100 # Loki
},
{
container_port = 30280
host_port = 9411 # Zipkin
},
{
container_port = 30380
host_port = 10080 # Istio-Ingress
},
{
container_port = 30480
host_port = 10180 # Weave-GitOps
},
{
container_port = 30580
host_port = 10280 # Hubble-UI
}
]
}
variable "metallb" {
type = bool
default = false
}
/*
variable "gcp_secrets_credentials" {
type = string
}
variable "gcp_secrets_project_id" {
type = string
}
variable "flux_secrets" {
type = set(string)
}
variable "cluster" {
type = string
}
*/