strato-infra/flux/cluster/apps/drone/secret.yaml

42 lines
1 KiB
YAML
Raw Normal View History

2022-05-23 23:27:50 +02:00
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: drone-secrets
namespace: drone
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: drone-secrets
data:
- secretKey: DRONE_RPC_SECRET
2022-05-23 23:27:50 +02:00
remoteRef:
key: k8s/drone
property: drone-rpc-secret
- secretKey: DRONE_SERVER_HOST
2022-05-23 23:27:50 +02:00
remoteRef:
key: k8s/drone
property: drone-server-host
- secretKey: DRONE_SERVER_PROTO
2022-05-23 23:27:50 +02:00
remoteRef:
key: k8s/drone
property: drone-server-proto
- secretKey: DRONE_GIT_ALWAYS_AUTH
2022-05-23 23:27:50 +02:00
remoteRef:
key: k8s/drone
property: git-always-auth
- secretKey: DRONE_GITEA_CLIENT_ID
2022-05-23 23:27:50 +02:00
remoteRef:
key: k8s/drone
property: gitea-client-id
- secretKey: DRONE_GITEA_CLIENT_SECRET
2022-05-23 23:27:50 +02:00
remoteRef:
key: k8s/drone
property: gitea-client-secret
- secretKey: DRONE_GITEA_SERVER
2022-05-23 23:27:50 +02:00
remoteRef:
key: k8s/drone
property: gitea-server