-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathvariables.tf
77 lines (64 loc) · 1.58 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
#####################
# Cluster variables #
#####################
variable "img" {
type = "string"
default = "lxd-kubeadm"
description = "image name"
}
variable "distrobuilder" {
type = "string"
default = "distrobuilder-opensuse.yaml"
description = "image name"
}
variable "force_img" {
type = "string"
default = ""
description = "force the image re-creation"
}
variable "master_count" {
default = 1
description = "Number of masters to be created"
}
variable "worker_count" {
default = 1
description = "Number of workers to be created"
}
variable "cni" {
default = "flannel"
description = "CNI driver"
}
variable "kubeconfig" {
default = "kubeconfig.local"
description = "Local kubeconfig file"
}
variable "name_prefix" {
type = "string"
default = "kubeadm-"
description = "Optional prefix to be able to have multiple clusters on one host"
}
variable "private_key" {
type = "string"
default = "~/.ssh/id_rsa"
description = "filename of ssh private key used for accessing all the nodes. a corresponding .pub file must exist"
}
variable "ssh_user" {
type = "string"
default = "root"
description = "The SSH user"
}
variable "ssh_pass" {
type = "string"
default = "linux"
description = "The SSH password"
}
variable "domain_name" {
type = "string"
default = "test.net"
description = "The domain name"
}
variable "manifests" {
type = "list"
default = []
description = "List of manifests to load after setting up the first master"
}