Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
8cf32de
feat: Quickstart OCP DA
Jul 21, 2025
b534546
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 21, 2025
c1efd2c
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 22, 2025
1c1d39c
Updated catalog,variables.tf,main.tf,pr_test.go
Jul 22, 2025
031140f
Added catalogValidationValues.json.template
Jul 22, 2025
a0d27db
fix: Resolved pipeline error
Jul 22, 2025
1450622
Removed log file
Jul 22, 2025
48e7d82
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 22, 2025
5570e17
fix: Defined Resourcegroup in pr_test
Jul 22, 2025
7da6b64
Resolved precommit error
Jul 22, 2025
8229c75
updated code
Jul 24, 2025
64139cf
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 24, 2025
d24366e
Removed logfile
Jul 24, 2025
4ba88f2
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 24, 2025
76a101a
Addressed review comments
Jul 25, 2025
7d88ecb
Updated catalog
Jul 25, 2025
43acc7b
SKIP UPGRADE TEST
Jul 25, 2025
d2ad488
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 28, 2025
94f640e
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 28, 2025
1ba7cb7
Updated permission
Jul 28, 2025
85afa9d
Addressed review comments
Jul 29, 2025
946c4b2
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 29, 2025
9fa950e
Merge branch 'main' into quickstart-ocp
arya-girish-k Jul 30, 2025
3406b30
Adressed review comments
Jul 31, 2025
d3f5f39
Addressed review comments
Jul 31, 2025
1e5511f
Addressed review comments
Jul 31, 2025
648faed
Updated code
Aug 1, 2025
0509970
Merge branch 'main' into quickstart-ocp
arya-girish-k Aug 4, 2025
c0cf8e9
Merge branch 'main' into quickstart-ocp
arya-girish-k Aug 5, 2025
4ee5c0e
Merge branch 'main' into quickstart-ocp
arya-girish-k Aug 7, 2025
4554d60
Addressed comments
Aug 7, 2025
bc35e90
Updated decsription
Aug 7, 2025
15d8763
Addressed review comments
Aug 7, 2025
4912e6c
Updated diagram
Aug 7, 2025
862f9e4
Merge branch 'main' into quickstart-ocp
arya-girish-k Aug 7, 2025
68a9f04
Addressed review comments
Aug 7, 2025
daa0a34
Updated mark down file and variable.tf
Aug 7, 2025
742968c
resolved review comments
Aug 7, 2025
d8c2f76
addressed review comments
Aug 8, 2025
f3a2008
Update ibm_catalog.json
arya-girish-k Aug 8, 2025
056e57a
Update ibm_catalog.json
arya-girish-k Aug 8, 2025
c8a2add
Update solutions/quickstart/variables.tf
arya-girish-k Aug 8, 2025
4d5f6ec
Addressed comments
Aug 8, 2025
c2a2089
Updated catalog validation,resource_group an output.tf
Aug 8, 2025
c7e2e88
Resolved precommit error
Aug 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .catalog-onboard-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ offerings:
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
region: us-south
scope_resource_group_var_name: existing_resource_group_name
- name: quickstart
mark_ready: true
install_type: fullstack
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "go.sum|^.secrets.baseline$",
"lines": null
},
"generated_at": "2025-05-14T17:28:16Z",
"generated_at": "2025-07-22T11:44:55Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -82,7 +82,7 @@
"hashed_secret": "8196b86ede820e665b2b8af9c648f4996be99838",
"is_secret": false,
"is_verified": false,
"line_number": 65,
"line_number": 67,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down
242 changes: 242 additions & 0 deletions ibm_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,248 @@
],
"dependency_version_2": true,
"terraform_version": "1.10.5"
},
{
"label": "[Experimental] Quickstart",
"name": "quickstart",
"index": 2,
"install_type": "fullstack",
"working_directory": "solutions/quickstart",
"compliance": {
"authority": "scc-v3",
"profiles": [
{
"profile_name": "IBM Cloud Framework for Financial Services",
"profile_version": "1.7.0"
}
]
},
"iam_permissions": [
{
"service_name": "containers-kubernetes",
"role_crns": [
"crn:v1:bluemix:public:iam::::serviceRole:Manager",
"crn:v1:bluemix:public:iam::::role:Administrator"
],
"notes": "Required to create and edit OpenShift cluster and the related resources."
},
{
"service_name": "iam-identity",
"role_crns": [
"crn:v1:bluemix:public:iam::::role:Administrator",
"crn:v1:bluemix:public:iam-identity::::serviceRole:UserApiKeyCreator"
],
"notes": "Required to create the containers-kubernetes-key needed by the OpenShift cluster on IBM Cloud."
},
{
"service_name": "is.vpc",
"role_crns": [
"crn:v1:bluemix:public:iam::::role:Administrator"
],
"notes": "Required for creating Virtual Private Cloud(VPC)."
},
{
"service_name": "cloud-object-storage",
"role_crns": [
"crn:v1:bluemix:public:iam::::serviceRole:Manager",
"crn:v1:bluemix:public:iam::::role:Editor"
],
"notes": "Required to create Cloud Object Storage (COS) Instance."
}
],
"architecture": {
"features": [
{
"title": " ",
"description": "Configured to use IBM secure by default standards, but can be edited to fit your use case."
}
],
"diagrams": [
{
"diagram": {
"caption": "Red Hat OpenShift cluster topology - Quickstart",
"url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-base-ocp-vpc/refs/heads/main/reference-architecture/deployable-architecture-ocp-cluster.svg",
"type": "image/svg+xml"
},
"description": "This QuickStart Deployable Architecture enables <b>single-click deployment</b> of a <b>Red Hat OpenShift cluster</b> within an IBM Cloud Virtual Private Cloud (VPC) using a single monolithic Terraform configuration. It provisions both the OpenShift cluster and its foundational VPC infrastructure with a limited set of essential options for rapid and streamlined setup.<br><br>Users can select from predefined cluster sizes — <b>mini (default), small, medium, and large</b> — each size determining the number of availability zones, worker nodes per zone, and the <b>machine type</b> (worker node flavor) accordingly. The machine type defines the CPU, memory, and disk capacity of worker nodes, directly shaping the cluster’s performance and capacity.<br><br>By default, the architecture provisions a <b>two-zone VPC</b>, forming the foundation for the OpenShift cluster. The cluster comprises a single worker pool distributed across these zones, with <b>two worker nodes per zone</b> in the mini configuration.<br><br>Additionally, the deployment creates an <b>Object Storage bucket</b> that serves as the internal container image registry for the OpenShift cluster, ensuring seamless storage integration.<br><br>This streamlined architecture balances ease of use with flexibility, enabling rapid OpenShift cluster deployments with IBM Cloud’s proven infrastructure, integrated storage services, and right-sized compute resources."
}
]
},
"configuration": [
{
"key": "ibmcloud_api_key"
},
{
"key": "existing_resource_group_name",
"required":true,
"display_name": "resource_group",
"custom_config": {
"type": "resource_group",
"grouping": "deployment",
"original_grouping": "deployment",
"config_constraints": {
"identifier": "rg_name"
}
}
},
{
"key": "prefix",
"required": true
},
{
"key": "region",
"required": true,
"type": "string",
"custom_config": {
"config_constraints": {
"generationType": "2"
},
"grouping": "deployment",
"original_grouping": "deployment",
"type": "vpc_region"
}
},
{
"key": "size",
"required": true,
"options": [
{
"displayname": "mini",
"value": "mini"
},
{
"displayname": "small",
"value": "small"
},
{
"displayname": "medium",
"value": "medium"
},
{
"displayname": "large",
"value": "large"
}
]
},
{
"key": "provider_visibility",
"options": [
{
"displayname": "private",
"value": "private"
},
{
"displayname": "public",
"value": "public"
},
{
"displayname": "public-and-private",
"value": "public-and-private"
}
],
"hidden": true
},
{
"key": "cluster_name",
"hidden":true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this hidden?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned , I have added the relevant variables to the required and optional tabs. However, I updated this particular variable to be optional

},
{
"key": "ocp_version",
"display_name": "openshift_version",
"options": [
{
"displayname": "4.18",
"value": "4.18"
},
{
"displayname": "4.17",
"value": "4.17"
},
{
"displayname": "4.16",
"value": "4.16"
},
{
"displayname": "4.15",
"value": "4.15"
},
{
"displayname": "4.14",
"value": "4.14"
}
]
},
{
"key": "default_worker_pool_operating_system",
"hidden": true,
"options": [
{
"displayname": "RHEL 9",
"value": "RHEL_9_64"
},
{
"displayname": "Red Hat CoreOS",
"value": "RHCOS"
},
{
"displayname": "RHEL 8",
"value": "REDHAT_8_64"
}
]
},
{
"key": "address_prefix",
"hidden":true
},
{
"key": "cluster_config_endpoint_type",
"options": [
{
"displayname": "default",
"value": "default"
},
{
"displayname": "private",
"value": "private"
},
{
"displayname": "vpe",
"value": "vpe"
},
{
"displayname": "link",
"value": "link"
}
],
"hidden":true
},
{
"key": "ocp_entitlement",
"hidden":true
},
{
"key": "access_tags",
"hidden":true,
"custom_config": {
"type": "array",
"grouping": "deployment",
"original_grouping": "deployment",
"config_constraints": {
"type": "string"
}
}
},
{
"key": "disable_public_endpoint"
},
{
"key": "disable_outbound_traffic_protection"
},
{
"key": "use_private_endpoint"
}

]
}
]
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions solutions/quickstart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Cloud automation for Red Hat OpenShift Container Platform on VPC (Quickstart)

:exclamation: **Important:** This solution is not intended to be called by other modules because it contains a provider configuration and is not compatible with the `for_each`, `count`, and `depends_on` arguments. For more information, see [Providers Within Modules](https://developer.hashicorp.com/terraform/language/modules/develop/providers).
5 changes: 5 additions & 0 deletions solutions/quickstart/catalogValidationValues.json.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"ibmcloud_api_key": $VALIDATION_APIKEY,
"prefix": $PREFIX,
"size": "mini"
}
Loading