-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathvariables.tf
52 lines (41 loc) · 1.24 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
#####################
# variables
#####################
variable "master_count" {
default = "1"
}
variable "worker_count" {
default = "1"
}
variable "cni" {
default = "flannel"
description = "CNI driver"
}
variable "ssh" {
default = "../ssh/id_rsa"
}
variable "image" {
default = "https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
}
variable "image_pool" {
default = "default"
}
variable "name_prefix" {
type = "string"
default = "kadm-lv-"
description = "Optional prefix to be able to have multiple clusters on one host"
}
variable "manifests" {
type = "list"
default = [
"https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml",
"https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml",
"https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/provider/cloud-generic.yaml",
"https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml",
]
description = "List of manifests to load after setting up the first master"
}
variable "kubeconfig" {
default = "kubeconfig.local"
description = "Local kubeconfig file"
}