-
Notifications
You must be signed in to change notification settings - Fork 0
/
variable.tf
82 lines (65 loc) · 1.85 KB
/
variable.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
variable "rancher_version" {
default = "v2.4.8"
# Taken by helm_chart to specify which rancher version to install
}
variable "rke_user" {
default = "ubuntu"
# the user created in all the nodes in rke cluster
}
variable "airgapped_nodes" {
default = ["ip-1","ip-2","ip=3"]
}
variable "rancher_fqdn" {
default = ""
#Fully Qualified Domain Name for your Rancher Server
}
variable "ssh_private_key" {
default = "/path/to/ssh.key"
#Private ssh key to access the nodes
}
variable "private_registry_url" {
default = ""
#URL of private registry where it will pull the RKE related docker images from, example="10.0.1.0:8082/docker"
}
variable "private_registry_username" {
default = ""
}
variable "private_registry_password" {
default = ""
}
variable "tls_crt" {
default = "path/to/custom.crt"
# this variable takes the path of the custom ssl cert
}
variable "tls_key" {
default = "path/to/custom.key"
# this variable takes the path of the custom ssl key
}
variable "ca_crt" {
default = "/path/to/CA.pem"
# this variable takes the path of the custom CA certificate
}
variable "helm_secret_username" {
default = ""
#takes the username and converts it into base64
}
variable "helm_secret_password" {
default = ""
#takes the password and converts it into base64
}
variable "helm_image_pull_secret_name" {
default = "helmimagesecret"
#This will be the name of secret created.
}
variable "helm_repository_url" {
default = "http://0.0.0.0/repository"
#URL of the private helm repository where it will pull the rancher charts from
}
variable "system_default_registry" {
default = "10.0.3.222:8082/docker"
# Mention the default registry where images must be pulled from
}
variable "rancher_image" {
default = "10.0.3.222:8082/docker/rancher/rancher"
#Image that should be pulled from the private docker registry to install rancher.
}