-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
111 lines (96 loc) · 2.68 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
variable "location" {
description = "gke region"
type = string
default = "europe-west4"
}
variable "vault_url" {
description = "Vault URL"
type = string
}
variable "vault_namespace" {
description = "Namespace being used for the Vault provider passed to this module (Vault Enterprise only)"
type = string
default = ""
}
variable "chart_repo_url" {
description = "URL to repository containing the vault-secrets-webhook helm chart"
type = string
default = "oci://ghcr.io/bank-vaults/helm-charts"
}
variable "helm_deployment_name" {
description = "Name for helm deployment"
type = string
default = "vault-secrets-webhook"
}
variable "helm_chart_version" {
description = "Version of the vault-secrets-webhook chart"
type = string
default = "1.20.0"
}
variable "namespace" {
description = "Name for vault-secrets-webhook namespace"
type = string
default = "vault-secrets-webhook"
}
variable "service_account" {
description = "Name for vault-secrets-webhook namespace"
type = string
default = "vault-webhook-admin"
}
variable "webhook_vault_base_policy" {
description = "Default policy for the webhook's service acccount in vault"
type = string
default = ""
}
variable "webhook_vault_extra_policies" {
description = "Any additional policies for the webhook's service acccount in vault"
type = list(string)
default = []
}
variable "helm_values" {
description = "Values for vault-secrets-webhook Helm chart in raw YAML. If none specified, module will add its own set of default values"
type = list(string)
default = []
}
variable "extra_set_values" {
description = "Specific values to override in the vault-secrets-webhook Helm chart (overrides corresponding values in the helm-value.yaml file within the module)"
type = list(object({
name = string
value = any
type = string
})
)
default = []
}
variable "project" {
description = "Name of top level project in Vault OSS - leave this undefined for Vault Enterprise"
type = string
default = null
}
variable "cluster_name" {
description = "GKE cluster name"
type = string
}
variable "vault_policies" {
description = "Additional policies to be created in vault"
type = list(object({
name = string
hcl = string
})
)
default = []
}
variable "extra_sa_mappings" {
description = "Additional Kubernetes service account mappings to policies in Vault"
type = list(object({
name = string
identities = list(object({
sa = string
ns = string
}))
policies = list(string)
ttl = number
})
)
default = []
}