generator-gcr.yaml 706 B

1234567891011121314151617181920212223242526272829
  1. apiVersion: generators.external-secrets.io/v1alpha1
  2. kind: GCRAccessToken
  3. metadata:
  4. name: gcr-gen
  5. spec:
  6. # project where gcr lives in
  7. projectID: ""
  8. # choose authentication strategy
  9. auth:
  10. # option 1: workload identity
  11. workloadIdentity:
  12. # point to the workload identity
  13. # service account
  14. serviceAccountRef:
  15. name: ""
  16. audiences: []
  17. # the cluster can live in a different project or location
  18. # use the following fields to configure where the cluster lives
  19. clusterLocation: ""
  20. clusterName: ""
  21. clusterProjectID: ""
  22. # option 2: GCP service account
  23. secretRef:
  24. secretAccessKeySecretRef:
  25. name: ""
  26. key: ""