1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/docs/snippets/generator-gcr.yaml
Moritz Johner dabfa5a589
Feature: initial generator implementation + Github Actions OIDC/AWS (#1539)
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: Gustavo Fernandes de Carvalho <gusfcarvalho@gmail.com>
2022-10-29 20:15:50 +02:00

27 lines
680 B
YAML

apiVersion: generators.external-secrets.io/v1alpha1
kind: GCRAccessToken
spec:
# project where gcr lives in
projectID: ""
# choose authentication strategy
auth:
# option 1: workload identity
workloadIdentity:
# point to the workload identity
# service account
serviceAccountRef:
name: ""
audiences: []
# the cluster can live in a different project or location
# use the following fields to configure where the cluster lives
clusterLocation: ""
clusterName: ""
clusterProjectID: ""
# option 2: GCP service account
secretRef:
secretAccessKeySecretRef:
name: ""
key: ""