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

62 lines
1.6 KiB
YAML
Raw Permalink 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
2022-05-30 13:14:15 +02:00
- secretKey: DRONE_DATABASE_DRIVER
remoteRef:
key: k8s/drone
property: drone-db-driver
- secretKey: DRONE_DATABASE_DATASOURCE
remoteRef:
key: k8s/drone
2022-06-23 17:35:35 +02:00
property: drone-db-url
- secretKey: DRONE_NAMESPACE_DEFAULT
remoteRef:
key: k8s/drone
2022-06-23 17:40:22 +02:00
property: namespace
- secretKey: DRONE_RPC_HOST
remoteRef:
key: k8s/drone
property: drone-server-host
2022-06-23 17:45:02 +02:00
- secretKey: DRONE_RPC_PROTO
remoteRef:
key: k8s/drone
property: drone-server-proto