-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathvars.tf
102 lines (81 loc) · 2.37 KB
/
vars.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
94
95
96
97
98
99
100
101
102
variable "cf_email" {
description = "Your Cloudflare email address"
}
variable "cf_api_key" {
description = "Your Cloudflare API key"
}
variable "cf_zone_id" {
description = "Your Cloudflare Zone"
}
variable "cluster_basedomain" {
description = "Your Cloudflare Base domain for your cluster"
}
variable "auth_token" {
description = "Your Packet API key"
}
variable "project_id" {
description = "Your Packet Project ID"
}
variable "ssh_private_key_path" {
description = "Your SSH private key path (used locally only)"
default = "~/.ssh/id_rsa"
}
variable "ssh_public_key_path" {
description = "Your SSH public key path (used for install-config.yaml)"
default = "~/.ssh/id_rsa.pub"
}
variable "bastion_operating_system" {
description = "Your preferred bastion operating systems (RHEL or CentOS)"
default = "rhel_7"
}
variable "facility" {
description = "Your primary facility"
default = "dfw2"
}
variable "plan_master" {
description = "Plan for Master Nodes"
default = "c3.medium.x86"
}
variable "plan_compute" {
description = "Plan for Compute Nodes"
default = "c2.medium.x86"
}
variable "count_bootstrap" {
default = "1"
description = "Number of Master Nodes."
}
variable "count_master" {
default = "3"
description = "Number of Master Nodes."
}
variable "count_compute" {
default = "2"
description = "Number of Compute Nodes"
}
variable "cluster_name" {
default = "jr"
description = "Cluster name label"
}
variable "ocp_version" {
default = "4.5"
description = "OpenShift minor release version"
}
variable "ocp_version_zstream" {
default = "2"
description = "OpenShift zstream version"
}
variable "ocp_cluster_manager_token" {
description = "OpenShift Cluster Manager API Token used to generate your pullSecret (https://cloud.redhat.com/openshift/token)"
}
variable "ocp_storage_nfs_enable" {
description = "Enable configuration of NFS and NFS-related k8s provisioner/storageClass"
default = true
}
variable "ocp_storage_ocs_enable" {
description = "Enable installation of OpenShift Container Storage via operator. This requires a minimum of 3 worker nodes"
default = false
}
variable "ocp_virtualization_enable" {
description = "Enable installation of OpenShift Virtualization via operator. This requires storage provided by OCS, NFS, and/or hostPath provisioner(s)"
default = false
}