-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
88 lines (75 loc) · 2.73 KB
/
Copy pathvariables.tf
File metadata and controls
88 lines (75 loc) · 2.73 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
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
variable "namespace" {
type = string
default = "meshcloud"
description = "name of the namespace where the replicator and metering components should be deployed"
}
variable "metering_enabled" {
type = bool
default = true
}
variable "existing_clusterrole_name_replicator" {
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 "kubernetes_name_suffix_replicator" {
type = string
description = "Suffix to append to ClusterRole and ClusterRoleBinding names to support multiple replicator instances"
default = ""
}
variable "existing_clusterrole_name_metering" {
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 "kubernetes_name_suffix_metering" {
type = string
description = "Suffix to append to ClusterRole and ClusterRoleBinding names to support multiple metering instances"
default = ""
}
variable "scope" {
type = string
description = "The scope of the service principal. The scope is usually the id of the aks subscription"
}
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_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 "service_principal_name" {
type = string
description = "Display name of the replicator service principal."
}
variable "create_password" {
type = bool
description = "Create a password for the enterprise application."
}
variable "workload_identity_federation" {
default = null
description = "Enable workload identity federation instead of using a password by providing these additional settings. Usually you should receive the required settings when attempting to configure a platform with workload identity federation in meshStack."
type = object({ issuer = string, access_subject = string })
}
variable "application_owners" {
type = list(string)
description = "List of user principals that should be added as owners to the replicator service principal."
default = []
}