...

Text file src/edge-infra.dev/config/pallets/edge/clusterctl/gke/gcpinfra/workload-identity-policy.yaml

Documentation: edge-infra.dev/config/pallets/edge/clusterctl/gke/gcpinfra

     1apiVersion: iam.cnrm.cloud.google.com/v1beta1 # bind service account to GKE workload identity SA
     2kind: IAMPolicyMember
     3metadata:
     4  name: cctl-workload-identity-user
     5spec:
     6  member: serviceAccount:${gcp_project_id}.svc.id.goog[clusterctl/clusterctl]
     7  resourceRef:
     8    name: cctl
     9    apiVersion: iam.cnrm.cloud.google.com/v1beta1
    10    kind: IAMServiceAccount
    11  role: roles/iam.workloadIdentityUser

View as plain text