-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
63 lines (54 loc) · 1.4 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
variable "namespace" {
type = string
default = "headlamp"
description = "namespace to use for the installation"
}
variable "headlamp_version" {
type = string
default = null
description = "override the Headlamp Helm chart version"
}
variable "host" {
type = string
default = null
description = "FQDN for the ingress, must be set to enable ingress"
}
variable "ingress_class" {
type = string
default = null
description = "ingress class to use"
}
variable "issuer_name" {
type = string
default = null
description = "cert-manager issuer, use TLS if defined"
}
variable "issuer_type" {
type = string
default = "cluster-issuer"
description = "cert-manager issuer type"
validation {
condition = contains(["cluster-issuer", "issuer"], var.issuer_type)
error_message = "issuer type must be 'issuer' or 'cluster-issuer'"
}
}
variable "oidc_issuer_url" {
type = string
default = ""
description = "OIDC issuer URL"
}
variable "oidc_client_id" {
type = string
default = ""
description = "OIDC client ID"
}
variable "oidc_client_secret" {
type = string
default = ""
description = "OIDC client secret"
}
variable "oidc_scopes" {
type = string
default = ""
description = "OIDC scopes"
}