Skip to content

Commit 5629c5d

Browse files
feat: Updates the default configuration of the cluster<br> - The default_worker_pool_machine_type now defaults to bx2.4x16<br> - The default_worker_pool_workers_per_zone now defaults to 1 <br>Make COS as a hard dependency for fully-configurable DA<br> Docs changes<br> The input variable variable allow_public_access_to_cluster is renamed to allow_public_access_to_cluster_management<br> - (#803)
* fixes * fix: dependency plus SKIP UPGRADE TEST * fix: diagram * fix: diagram * added part2 changes --------- Co-authored-by: Aditya-ranjan-16 <[email protected]>
1 parent f679d9d commit 5629c5d

File tree

6 files changed

+23
-19
lines changed

6 files changed

+23
-19
lines changed

ibm_catalog.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@
293293
"key": "default_worker_pool_machine_type",
294294
"required": true,
295295
"options": [
296+
{
297+
"displayname": "bx2.4x16",
298+
"value": "bx2.4x16"
299+
},
296300
{
297301
"displayname": "bx2.16x64",
298302
"value": "bx2.16x64"
@@ -510,7 +514,7 @@
510514
"default_value": "us-south"
511515
},
512516
{
513-
"key": "allow_public_access_to_cluster",
517+
"key": "allow_public_access_to_cluster_management",
514518
"required": true
515519
},
516520
{
@@ -951,7 +955,7 @@
951955
"dependencies": [
952956
{
953957
"name": "deploy-arch-ibm-slz-vpc",
954-
"description": "Configure the VPC and subnets to deploy the OpenShift cluster.",
958+
"description": "Configure the VPC and subnets required to deploy your OpenShift cluster.",
955959
"id": "9fc0fa64-27af-4fed-9dce-47b3640ba739-global",
956960
"version": "v8.2.1",
957961
"flavors": [
@@ -989,7 +993,7 @@
989993
},
990994
{
991995
"name": "deploy-arch-ibm-account-infra-base",
992-
"description": "Organize your IBM Cloud account with preconfigured resource groups. If not selected, the default resource group is used. Optionally, expand to apply recommended security controls via \"with Account Settings\" variation.",
996+
"description": "Organize your IBM Cloud account using preconfigured groups and access policies to manage resource group usage. Optionally, extend security controls with IAM Account Settings validation.",
993997
"catalog_id": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3",
994998
"flavors": [
995999
"resource-group-only",
@@ -1014,7 +1018,7 @@
10141018
},
10151019
{
10161020
"name": "deploy-arch-ibm-kms",
1017-
"description": "Enables managed encryption with your own keys via IBM Cloud Key Protect. If disabled, services will default to IBM-managed encryption.",
1021+
"description": "Integrate IBM Key Protect to manage encryption keys for your cluster, securing persistent volumes and supporting compliance. If unselected, encryption is still applied using IBM-managed keys.",
10181022
"id": "2cad4789-fa90-4886-9c9e-857081c273ee-global",
10191023
"version": "v5.1.19",
10201024
"flavors": [
@@ -1046,14 +1050,14 @@
10461050
},
10471051
{
10481052
"name": "deploy-arch-ibm-cos",
1049-
"description": "Sets up a Cloud Object Storage (COS) instance and bucket to serve as the internal registry storage for your OpenShift cluster.",
1053+
"description": "Set up a Cloud Object Storage (COS) instance and bucket to serve as internal registry storage for your OpenShift cluster.",
10501054
"id": "68921490-2778-4930-ac6d-bae7be6cd958-global",
10511055
"version": "v10.2.1",
10521056
"flavors": [
10531057
"instance"
10541058
],
10551059
"catalog_id": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3",
1056-
"optional": true,
1060+
"optional": false,
10571061
"on_by_default": true,
10581062
"input_mapping": [
10591063
{
@@ -1069,7 +1073,7 @@
10691073
},
10701074
{
10711075
"name": "deploy-arch-ibm-cloud-logs",
1072-
"description": "Configure an IBM Cloud Logs instance to analyse the platform logs.",
1076+
"description": "Set up an IBM Cloud Logs instance to analyze platform logs.",
10731077
"catalog_id": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3",
10741078
"flavors": [
10751079
"fully-configurable"
@@ -1108,7 +1112,7 @@
11081112
},
11091113
{
11101114
"name": "deploy-arch-ibm-cloud-monitoring",
1111-
"description": "Sets up a Cloud Monitoring instance to collect the platform metrics.",
1115+
"description": "Set up a Cloud Monitoring instance to collect platform metrics.",
11121116
"id": "73debdbf-894f-4c14-81c7-5ece3a70b67d-global",
11131117
"version": "v1.6.4",
11141118
"flavors": [
@@ -1147,7 +1151,7 @@
11471151
},
11481152
{
11491153
"name": "deploy-arch-ibm-activity-tracker",
1150-
"description": "Configure Activity Tracker Event Routing to route the auditing events.",
1154+
"description": "Configure Activity Tracker Event Routing to direct auditing events appropriately.",
11511155
"id": "918453c3-4f97-4583-8c4a-83ef12fc7916-global",
11521156
"version": "v1.2.25",
11531157
"flavors": [
@@ -1181,7 +1185,7 @@
11811185
},
11821186
{
11831187
"name": "deploy-arch-ibm-secrets-manager",
1184-
"description": "Provisions a Secrets Manager instance to centrally manage Ingress subdomain certificates and other sensitive credentials.",
1188+
"description": "Provision a Secrets Manager instance to securely store and manage sensitive credentials—such as certificates—used by services integrated with your cluster.",
11851189
"id": "6d6ebc76-7bbd-42f5-8bc7-78f4fabd5944-global",
11861190
"version": "v2.8.6",
11871191
"flavors": [
@@ -1223,7 +1227,7 @@
12231227
},
12241228
{
12251229
"name": "deploy-arch-ibm-scc-workload-protection",
1226-
"description": "Configure an IBM Cloud Security and Compliance Center Workload Protection instance to help you manage security and compliance for your organization.",
1230+
"description": "Integrate with Workload Protection to monitor and manage your cluster’s security posture, helping detect misconfigurations and enforce compliance.",
12271231
"id": "4322cf44-2289-49aa-a719-dd79e39b14dc-global",
12281232
"version": "v1.11.4",
12291233
"flavors": [
@@ -1467,7 +1471,7 @@
14671471
}
14681472
},
14691473
{
1470-
"key": "allow_public_access_to_cluster"
1474+
"key": "allow_public_access_to_cluster_management"
14711475
},
14721476
{
14731477
"key": "allow_outbound_traffic"

reference-architectures/deployable-architecture-ocp-cluster.svg

Lines changed: 1 addition & 1 deletion
Loading

solutions/fully-configurable/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ module "ocp_base" {
225225
cluster_ready_when = var.cluster_ready_when
226226
custom_security_group_ids = var.custom_security_group_ids
227227
disable_outbound_traffic_protection = var.allow_outbound_traffic
228-
disable_public_endpoint = !var.allow_public_access_to_cluster
228+
disable_public_endpoint = !var.allow_public_access_to_cluster_management
229229
enable_ocp_console = var.enable_ocp_console
230230
ignore_worker_pool_size_changes = var.ignore_worker_pool_size_changes
231231
kms_config = local.kms_config

solutions/fully-configurable/variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ variable "allow_default_worker_pool_replacement" {
165165
variable "default_worker_pool_machine_type" {
166166
type = string
167167
description = "The machine type for worker nodes.[Learn more](https://cloud.ibm.com/docs/openshift?topic=openshift-vpc-flavors)"
168-
default = "bx2.8x32"
168+
default = "bx2.4x16"
169169
validation {
170170
condition = length(regexall("^[a-z0-9]+(?:\\.[a-z0-9]+)*\\.\\d+x\\d+(?:\\.[a-z0-9]+)?$", var.default_worker_pool_machine_type)) > 0
171171
error_message = "Invalid value provided for the machine type."
@@ -175,7 +175,7 @@ variable "default_worker_pool_machine_type" {
175175
variable "default_worker_pool_workers_per_zone" {
176176
type = number
177177
description = "Number of worker nodes in each zone of the cluster."
178-
default = 2
178+
default = 1
179179
}
180180

181181
variable "default_worker_pool_operating_system" {
@@ -266,7 +266,7 @@ variable "use_private_endpoint" {
266266
default = true
267267
}
268268

269-
variable "allow_public_access_to_cluster" {
269+
variable "allow_public_access_to_cluster_management" {
270270
type = bool
271271
description = "Set to true to allow public access to master node of the cluster by enabling public endpoint."
272272
default = false

solutions/quickstart/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ module "ocp_base" {
142142
worker_pools = local.worker_pools
143143
disable_outbound_traffic_protection = var.allow_outbound_traffic
144144
access_tags = var.access_tags
145-
disable_public_endpoint = !var.allow_public_access_to_cluster
145+
disable_public_endpoint = !var.allow_public_access_to_cluster_management
146146
cluster_config_endpoint_type = "default"
147147
}

solutions/quickstart/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ variable "size" {
9191
default = "mini"
9292
}
9393

94-
variable "allow_public_access_to_cluster" {
94+
variable "allow_public_access_to_cluster_management" {
9595
type = bool
9696
description = "Set to true to allow public access to master node of the cluster by enabling public endpoint."
9797
default = true

0 commit comments

Comments
 (0)