-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
48 lines (40 loc) · 1.1 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
variable "gke_host" {
type = string
}
variable "gke_token" {
type = string
}
variable "gke_cluster_ca_certificate" {
type = string
}
variable "gateway_namespace" {
description = "Kubernetes namespace for the Gateway API resources"
type = string
default = "gateway"
}
variable "gateway_labels" {
description = "Additional labels that will be applied to all Kubernetes objects"
type = map(string)
default = {}
}
variable "gateway_class_name" {
description = <<-EOF
GatewayClass name that Google's Gateway API supports.
https://cloud.google.com/kubernetes-engine/docs/concepts/gateway-api#gatewayclass
EOF
type = string
default = "gke-l7-global-external-managed"
}
variable "gateway_address_name" {
description = "Name of the IP address resource that will be bound to the gateway"
type = string
default = "gateway"
}
variable "gateway_certificates" {
description = "A list of certificates that will be mapped to the gateway"
type = list(object({
domain = string
certificate = string
key = string
}))
}