-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
93 lines (75 loc) · 1.84 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
variable "name" {
type = string
}
variable "k3s_join_existing" {
default = false
}
variable "cluster_token" {
type = string
default = null
}
variable "k3s_version" {
type = string
default = null
description = "version of k3s to download. If not defined stable channel is used"
}
variable "k3s_channel" {
default = "stable"
description = "channel to use for fetching k3s download URL, could be stable, latest or testing (overridden by k3s_version)"
}
variable "k3s_install_url" {
default = "https://get.k3s.io"
description = "download url for installation script"
}
variable "k3s_ip" {
type = string
default = null
description = "ip the k3s node uses cluster-internally"
}
variable "k3s_ips" {
type = list(string)
default = []
description = "ips the k3s node uses cluster-internally"
}
variable "k3s_url" {
default = ""
description = "api url of the existing cluster this node should join to"
}
variable "k3s_external_ip" {
type = string
default = null
description = "external ip address of the k3s node"
}
variable "k3s_args" {
default = []
description = "command line flags for launching k3s in the service"
}
variable "bootstrap_token_enabled" {
default = true
}
variable "bootstrap_token_id" {
type = string
default = null
}
variable "bootstrap_token_secret" {
type = string
default = null
sensitive = true
}
variable "custom_cloud_config_write_files" {
default = ""
}
variable "custom_cloud_config_runcmd" {
default = ""
}
variable "persistent_volume_dev" {
default = ""
description = "optional device for persistent data (e.g. /dev/vdb)"
}
variable "persistent_volume_label" {
default = "k3s-data"
description = "filesystem label for persistent data"
}
variable "cni_plugins_version" {
default = "v0.9.0"
}