Create an OSD GCP WIF Cluster - RedHatInsights/uhc-portal GitHub Wiki
How to Test
-
To create a cluster go to: https://prod.foo.redhat.com:1337/openshift/create/osd
-
Click on "Next"
-
Click on "Google cloud" as cloud provider
-
Click on "Workload Identity Federation" as Authentication type
-
Follow all the prerequisites
- You need to have a GCP account of course, you probably already have one inside our GCP project called
ocm-ui-dev
if you ever created a cluster on GCP using service accounts - You'll need to install the latest version of the
ocm
cli and thegcloud
cli. More info and links are in the prerequisites. - If you don't have an account with the "owner" role on GCP, you'll have to ask an owner (Dave or Kevin) to grant you these roles:
roles/iam.roleAdmin
roles/iam.serviceAccountAdmin
roles/iam.workloadIdentityPoolAdmin
roles/resourcemanager.projectIamAdmin
- You need to have a GCP account of course, you probably already have one inside our GCP project called
-
Create a WIF config running the provided command in your terminal. The gcp project id to use is
ocm-ui-dev
for our gcp project.ocm gcp create wif-config --name my-wif --project ocm-ui-dev
-
After the creation is successful, click on "Refresh" next to the WIF configuration select
-
Select the WIF config you just created
-
Click on "Next"
-
Set a cluster name and pick >
4.14.33
as version. -
Proceed with the cluster creation
-
Verify that the cluster is created and that the installation is in progress