...

Text file src/edge-infra.dev/hack/build/rules/kustomize/tests/gke/gcpinfra/workload-identity-policy.yaml

Documentation: edge-infra.dev/hack/build/rules/kustomize/tests/gke/gcpinfra

     1apiVersion: iam.cnrm.cloud.google.com/v1beta1
     2kind: IAMPolicyMember
     3metadata:
     4  name: lumper-controller-workload-id
     5  annotations:
     6    description: |
     7      Binds the K8s SA used by lumper-controller to the GCP IAM
     8      service account defined in the base.
     9spec:
    10  member: serviceAccount:${gcp_project_id}.svc.id.goog[warehouse-system/lumperctl]
    11  resourceRef:
    12    name: lumper-controller
    13    apiVersion: iam.cnrm.cloud.google.com/v1beta1
    14    kind: IAMServiceAccount
    15  role: roles/iam.workloadIdentityUser

View as plain text