...

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

Documentation: edge-infra.dev/config/pallets/external-secrets/external-secrets-operator/gke/gcpinfra

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

View as plain text