forked from ocp-power-automation/ocp4-upi-powervs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvar.tfvars
131 lines (102 loc) · 7.18 KB
/
var.tfvars
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
### IBM Cloud details
ibmcloud_api_key = "<key>"
ibmcloud_region = "<region>"
ibmcloud_zone = "<zone>"
service_instance_id = "<cloud_instance_ID>"
### OpenShift Cluster Details
### This is default minimalistic config. For PowerVS processors are equal to entitled physical count
### So N processors == N physical core entitlements == ceil[N] vCPUs.
### Example 0.5 processors == 0.5 physical core entitlements == ceil[0.5] = 1 vCPU == 8 logical OS CPUs (SMT=8)
### Example 1.5 processors == 1.5 physical core entitlements == ceil[1.5] = 2 vCPU == 16 logical OS CPUs (SMT=8)
### Example 2 processors == 2 physical core entitlements == ceil[2] = 2 vCPU == 16 logical OS CPUs (SMT=8)
bastion = { memory = "16", processors = "1", "count" = 1 }
bootstrap = { memory = "32", processors = "0.5", "count" = 1 }
master = { memory = "32", processors = "0.5", "count" = 3 }
worker = { memory = "32", processors = "0.5", "count" = 2 }
#With additional attributes
#master = { memory = "32", processors = "0.5", "count" = 3, data_volume_count = 0, data_volume_size = 100 }
#worker = { memory = "32", processors = "0.5", "count" = 2, data_volume_count = 0, data_volume_size = 100 }
rhel_image_name = "rhel-8.3"
rhcos_image_name = "rhcos-4.6"
### Provide these parameters if RHCOS image needs to be imported from public bucket of cloud object storage to PVS.
### When this is provided, data provided through parameter "rhcos_image_name" will be ignored.
rhcos_import_image = false # true/false (default=false).
rhcos_import_image_filename = "rhcos-410-84-202201251004-0-ppc64le-powervs.ova.gz"
rhcos_import_image_storage_type = "tier1" # tier1/tier3 (default=tier1) Storage type in PowerVS
processor_type = "shared"
system_type = "s922"
network_name = "ocp-net"
rhel_username = "root" #Set it to an appropriate username for non-root user access
connection_timeout = 30 # minutes
public_key_file = "data/id_rsa.pub"
private_key_file = "data/id_rsa"
rhel_subscription_username = "<subscription-id>" #Leave this as-is if using CentOS as bastion image
rhel_subscription_password = "<subscription-password>" #Leave this as-is if using CentOS as bastion image
rhel_subscription_org = "" # Define it only when using activationkey for RHEL subscription
rhel_subscription_activationkey = "" # Define it only when using activationkey for RHEL subscription
rhel_smt = 4
### OpenShift Installation Details
openshift_install_tarball = "https://mirror.openshift.com/pub/openshift-v4/ppc64le/clients/ocp-dev-preview/latest/openshift-install-linux.tar.gz"
openshift_client_tarball = "https://mirror.openshift.com/pub/openshift-v4/ppc64le/clients/ocp-dev-preview/latest/openshift-client-linux.tar.gz"
pull_secret_file = "data/pull-secret.txt"
cluster_domain = "ibm.com" #Set domain to nip.io or xip.io if you prefer using online wildcard domain and avoid modifying /etc/hosts
cluster_id_prefix = "test-ocp" # Set it to empty if just want to use cluster_id without prefix
cluster_id = "" # It will use random generated id with cluster_id_prefix if this is not set
use_zone_info_for_names = true # If set it to false, the zone info would not be used in resource names on PowerVS.
#fips_compliant = false # Set it true if you prefer to use FIPS enable in ocp deployment
### Using IBM Cloud Services
#use_ibm_cloud_services = true
#ibm_cloud_vpc_name = "ocp-vpc"
#ibm_cloud_vpc_subnet_name = "ocp-subnet"
#iaas_classic_username = "apikey" # Can be passed via environment variable IAAS_CLASSIC_USERNAME
#iaas_classic_api_key = "" # if empty, will default to ibmcloud_api_key. Can be passed via environment variable IAAS_CLASSIC_API_KEY
#iaas_vpc_region = "" # if empty, will default to ibmcloud_region.
### Misc Customizations
#enable_local_registry = false #Set to true to enable usage of local registry for restricted network install.
#local_registry_image = "docker.io/ibmcom/registry-ppc64le:2.6.2.5"
#ocp_release_tag = "4.4.9-ppc64le"
#ocp_release_name = "ocp-release"
#release_image_override = ""
#helpernode_repo = "https://github.com/redhat-cop/ocp4-helpernode"
#helpernode_tag = ""
#install_playbook_repo = "https://github.com/ocp-power-automation/ocp4-playbooks"
#install_playbook_tag = ""
#bastion_health_status = "OK"
#installer_log_level = "info"
#ansible_extra_options = "-v"
#ansible_repo_name = "ansible-2.9-for-rhel-8-ppc64le-rpms"
#dns_forwarders = "1.1.1.1; 9.9.9.9"
#rhcos_pre_kernel_options = []
#rhcos_kernel_options = []
#node_labels = {}
#chrony_config = true
#chrony_config_servers = [ {server = "0.centos.pool.ntp.org", options = "iburst"}, {server = "1.centos.pool.ntp.org", options = "iburst"} ]
#setup_squid_proxy = false
## N/A when `setup_squid_proxy = true`, set `setup_squid_proxy = false` when using external proxy.
#proxy = {server = "hostname_or_ip", port = "3128", user = "pxuser", password = "pxpassword"}
#storage_type = "nfs"
#volume_size = "300" #Value in GB
#volume_shareable = false
#upgrade_image = "" #quay.io/openshift-release-dev/ocp-release@sha256:xyz.."
#upgrade_version = ""
#upgrade_pause_time = "70"
#upgrade_delay_time = "600"
#eus_upgrade_version = ""
#eus_upgrade_channel = "" #(stable-4.x, fast-4.x, candidate-4.x, eus-4.x) eg. stable-4.11
#eus_upgrade_image = "" #(quay.io/openshift-release-dev/ocp-release@sha256:xyz..)
#eus_upstream = "" #https://ppc64le.ocp.releases.ci.openshift.org/graph
#ibm_cloud_dl_endpoint_net_cidr = "" #Set this to IBM Cloud DirectLink endpoint network cidr eg. 10.0.0.0/8
#ibm_cloud_http_proxy = "" #Set this to IBM Cloud http/squid proxy eg. http://10.166.13.64:3128
#cni_network_provider = "OVNKubernetes"
#setup_snat = true
#csi_driver_install = false #Set to true to enable installation of csi-driver.
#luks_compliant = false # Set it true if you prefer to use LUKS enable in OCP deployment
#luks_config = [ { thumbprint = "", url = "" }, { thumbprint = "", url = "" }, { thumbprint = "", url = "" } ]
#luks_filesystem_device = "/dev/mapper/root" #Set the Path of device to be luks encrypted
#luks_format = "xfs" #Set the Format of the FileSystem to be luks encrypted
#luks_wipe_filesystem = true #Configures the FileSystem to be wiped
#luks_device = "/dev/disk/by-partlabel/root" #Set the Path of luks encrypted partition
#luks_label = "luks-root" #Set the value for user label of luks encrpted partition
#luks_options = ["--cipher", "aes-cbc-essiv:sha256"] #Set List of luks options for the luks encryption
#luks_wipe_volume = true #Configures the luks encrypted partition to be wiped
#luks_name = "root" #Set the value for the user label of Filesystem to be luks encrypted