forked from equinix-labs/terraform-equinix-kubernetes-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
88 lines (75 loc) · 2.11 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
variable "enable_metallb" {
type = bool
description = "Enable Metallb add-on"
default = false
}
variable "metallb_config" {
type = any
description = "Configuration for Metallb add-on"
default = {}
}
variable "enable_longhorn" {
type = bool
description = "Enable Longhorn add-on"
default = false
}
variable "longhorn_config" {
type = any
description = "Configuration for Longhorn add-on"
default = null
}
variable "enable_rook" {
type = bool
description = "Enable Rook add-on"
default = false
}
variable "rook_config" {
type = any
description = "Configuration for Rook add-on"
default = null
}
variable "ssh_host" {
type = string
description = "The address of the server from where to perform kubectl installations and changes"
}
variable "ssh_user" {
type = string
description = "The user to use for the connection"
default = "root"
}
variable "ssh_private_key" {
type = string
description = "The contents of an SSH key to use for the connection. These can be loaded from a file on disk using the file function"
sensitive = true
}
variable "kubeconfig_remote_path" {
type = string
description = "Depending on your setup, you may need to specify the path to the kubeconfig file hosted on the remote server"
}
variable "kubeconfig_local_path" {
type = string
description = "Depending on your setup, you may need to specify the path to the kubeconfig file locally"
}
variable "tags" {
type = list(string)
description = "Additional tags (e.g. `['k8s`,`production`]"
default = []
}
variable "equinix_project" {
type = string
description = "Equinix project"
}
variable "equinix_metro" {
type = string
description = "Equinix metro code"
}
variable "enable_cloud_provider_equinix_metal" {
type = bool
description = "Enable cloudproviderequinixmetal add-on"
default = false
}
variable "cloud_provider_equinix_metal_config" {
type = any
description = "Configuration for cloudproviderequinixmetal add-on"
default = {}
}