1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00
external-secrets/docs/snippets/gcpsm-wi-secret-store.yaml
Adrian Rico 5fdcba0f14
doc: add remember note for clusterLocation (#2741)
Signed-off-by: Adrian Rico <adrian.rico@ackstorm.com>
Co-authored-by: Adrian Rico <adrian.rico@ackstorm.com>
2023-09-28 17:16:53 +02:00

20 lines
629 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
name: gcp-store
spec:
provider:
gcpsm:
projectID: alphabet-123
auth:
workloadIdentity:
# name of the cluster Location, region or zone
clusterLocation: europe-central2
# name of the GKE cluster
clusterName: alpha-cluster-42
# projectID of the cluster (if omitted defaults to spec.provider.gcpsm.projectID)
clusterProjectID: my-cluster-project
# reference the sa from above
serviceAccountRef:
name: team-a
namespace: team-a