harness - setting up connector to gcp
Configuring gcp worker pool As part of this setup, we need to create pool in GCP that be able to do OIDC authentications with harness.io. Lets start by Create the pool using the following command gcloud iam workload-identity-pools create harness-pool \ --location=global \ --project=project-number \ --display-name="Harness Pool" \ --description="Workload identity pool for Harness OIDC" Then we need to create the providers using the following command gcloud iam workload-identity-pools providers create-oidc harness-provider-oidc \ --workload-identity-pool=harness-pool \ --location=global \ --project=project-number \ --issuer-uri="https://app.harness.io/ng/api/oidc/account/UlEEm2GaTPaJNlYAV6NDkg" \ --attribute-mapping="google.subject=assertion.sub" \ --allowed-audiences="//iam.googleapis.com/projects/project-id/locations/global/workloadIdentityPools/harness-pool/providers/harness-provider-oidc" Create se...