Create an OSD GCP WIF Cluster - RedHatInsights/uhc-portal GitHub Wiki

How to Test

  1. To create a cluster go to: https://prod.foo.redhat.com:1337/openshift/create/osd

  2. Click on "Next"

  3. Click on "Google cloud" as cloud provider

  4. Click on "Workload Identity Federation" as Authentication type

  5. Follow all the prerequisites

    1. 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
    2. You'll need to install the latest version of the ocm cli and the gcloud cli. More info and links are in the prerequisites.
    3. 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
  6. 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

  7. After the creation is successful, click on "Refresh" next to the WIF configuration select

  8. Select the WIF config you just created

  9. Click on "Next"

  10. Set a cluster name and pick >4.14.33 as version.

  11. Proceed with the cluster creation

  12. Verify that the cluster is created and that the installation is in progress