-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
61 lines (53 loc) · 1.71 KB
/
Copy pathvariables.tf
File metadata and controls
61 lines (53 loc) · 1.71 KB
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
variable "namespace" {
type = string
description = "Namespace where namespaced resources will be created"
default = "meshcloud"
}
variable "metering_enabled" {
type = bool
default = true
}
variable "metering_name_suffix" {
type = string
description = "Suffix to append to metering ServiceAccount and ClusterRoleBinding names to support multiple instances"
default = ""
}
variable "metering_existing_clusterrole_name" {
type = string
description = "Name of an existing ClusterRole to use for metering instead of creating a new one. If empty, a new ClusterRole will be created."
default = ""
}
variable "metering_additional_rules" {
type = list(object({
api_groups = list(string)
resources = list(string)
verbs = list(string)
resource_names = optional(list(string))
non_resource_urls = optional(list(string))
}))
default = []
}
variable "replicator_enabled" {
type = bool
default = true
}
variable "replicator_name_suffix" {
type = string
description = "Suffix to append to replicator ServiceAccount and ClusterRoleBinding names to support multiple instances"
default = ""
}
variable "replicator_existing_clusterrole_name" {
type = string
description = "Name of an existing ClusterRole to use for replicator instead of creating a new one. If empty, a new ClusterRole will be created."
default = ""
}
variable "replicator_additional_rules" {
type = list(object({
api_groups = list(string)
resources = list(string)
verbs = list(string)
resource_names = optional(list(string))
non_resource_urls = optional(list(string))
}))
default = []
}