infrastructure/flux/cluster/apps/gitops/drone/external-secret.yaml
Vivian fa4f21a63f
Some checks failed
continuous-integration/drone/push Build is failing
yamllint
2022-05-29 17:16:34 +02:00

28 lines
598 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: drone
namespace: gitops
spec:
refreshInterval: "5m"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: drone
data:
- secretKey: DRONE_RPC_SECRET
remoteRef:
key: gitops/drone
property: drone_rpc_secret
- secretKey: DRONE_GITEA_CLIENT_ID
remoteRef:
key: gitops/drone
property: drone_gitea_client_id
- secretKey: DRONE_GITEA_CLIENT_SECRET
remoteRef:
key: gitops/drone
property: drone_gitea_client_secret