infrastructure/flux/cluster/apps/gitops/drone/external-secret.yaml

28 lines
598 B
YAML
Raw Normal View History

2022-05-27 15:20:29 +02:00
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: drone
namespace: gitops
spec:
refreshInterval: "5m"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: drone
data:
2022-05-29 17:16:34 +02:00
- secretKey: DRONE_RPC_SECRET
remoteRef:
key: gitops/drone
property: drone_rpc_secret
2022-05-27 15:20:29 +02:00
2022-05-29 17:16:34 +02:00
- secretKey: DRONE_GITEA_CLIENT_ID
remoteRef:
key: gitops/drone
property: drone_gitea_client_id
2022-05-27 15:20:29 +02:00
2022-05-29 17:16:34 +02:00
- secretKey: DRONE_GITEA_CLIENT_SECRET
remoteRef:
key: gitops/drone
property: drone_gitea_client_secret