gcpsm-wi-secret-store.yaml 616 B

1234567891011121314151617181920
  1. apiVersion: external-secrets.io/v1beta1
  2. kind: ClusterSecretStore
  3. metadata:
  4. name: example
  5. spec:
  6. provider:
  7. gcpsm:
  8. projectID: my-project
  9. auth:
  10. workloadIdentity:
  11. # name of the cluster region
  12. clusterLocation: europe-central2
  13. # name of the GKE cluster
  14. clusterName: example-workload-identity
  15. # projectID of the cluster (if omitted defaults to spec.provider.gcpsm.projectID)
  16. clusterProjectID: my-cluster-project
  17. # reference the sa from above
  18. serviceAccountRef:
  19. name: team-a
  20. namespace: team-a