...

Text file src/edge-infra.dev/config/pallets/edge/lighthouse/gke/gcpinfra/wi-iam-role.yaml

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

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

View as plain text