From c131ae9911bbc6e9b86d463239c95c87808d35de Mon Sep 17 00:00:00 2001 From: umarali-nagoor Date: Mon, 14 Feb 2022 17:59:22 +0530 Subject: [PATCH] ocp version : user input --- examples/secure-roks-cluster/README.md | 2 +- examples/secure-roks-cluster/variables.tf | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/secure-roks-cluster/README.md b/examples/secure-roks-cluster/README.md index cb85198..4dfcb8f 100644 --- a/examples/secure-roks-cluster/README.md +++ b/examples/secure-roks-cluster/README.md @@ -70,7 +70,7 @@ Review the following variables that you can customize in your Terraform template |cos_instance|CRN of the IBM Cloud Object Storage instance. If set to `null`, an instance is created with the following naming convention: `-cos`|string|`null`|No| |resource_prefix|Prefix to use for created resource names.|string|N/A|Yes| |flavor|The flavor for the VPC worker nodes to create in the cluster. To list available flavors, run `ibmcloud ks flavors --zone -1`.|string|`bx2.4x16`|No| -|ocp_version|Specify the Red Hat OpenShift on IBM Cloud version. To list versions, run `ibmcloud ks versions`.|string|`4.6_openshift`|No| +|ocp_version|Specify the Red Hat OpenShift on IBM Cloud version. To list versions, run `ibmcloud ks versions`.|string| N/A |No| |ocp_entitlement|The value that is used to decide how your worker nodes are entitled to run OpenShift Container Platform. For more information, see the [`--entitlement` option description in the docs](https://cloud.ibm.com/docs/openshift?topic=openshift-kubernetes-service-cli#cli_cluster-create-vpc-gen2).|string|N/A|Yes| |disable_public_service_endpoint|Disable the public cloud service endpoint to prevent public access to the master.|bool|true|No| |worker_nodes_per_zone|The number of worker nodes per zone.|number|3|No| diff --git a/examples/secure-roks-cluster/variables.tf b/examples/secure-roks-cluster/variables.tf index cdb5b50..4b3cbd3 100644 --- a/examples/secure-roks-cluster/variables.tf +++ b/examples/secure-roks-cluster/variables.tf @@ -39,8 +39,7 @@ variable "flavor" { } variable "ocp_version" { type = string - description = "Specify the Openshift version" - default = "4.6_openshift" + description = "Specify the Openshift version. To list versions, run `ibmcloud ks versions`" } variable "ocp_entitlement" { type = string