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:
|
2022-05-26 16:40:49 +02:00
|
|
|
- secretKey: DRONE_RPC_SECRET
|
2022-05-23 23:27:50 +02:00
|
|
|
remoteRef:
|
|
|
|
key: k8s/drone
|
|
|
|
property: drone-rpc-secret
|
2022-05-26 16:40:49 +02:00
|
|
|
- secretKey: DRONE_SERVER_HOST
|
2022-05-23 23:27:50 +02:00
|
|
|
remoteRef:
|
|
|
|
key: k8s/drone
|
|
|
|
property: drone-server-host
|
2022-05-26 16:40:49 +02:00
|
|
|
- secretKey: DRONE_SERVER_PROTO
|
2022-05-23 23:27:50 +02:00
|
|
|
remoteRef:
|
|
|
|
key: k8s/drone
|
|
|
|
property: drone-server-proto
|
2022-05-26 16:40:49 +02:00
|
|
|
- secretKey: DRONE_GIT_ALWAYS_AUTH
|
2022-05-23 23:27:50 +02:00
|
|
|
remoteRef:
|
|
|
|
key: k8s/drone
|
|
|
|
property: git-always-auth
|
2022-05-26 16:40:49 +02:00
|
|
|
- secretKey: DRONE_GITEA_CLIENT_ID
|
2022-05-23 23:27:50 +02:00
|
|
|
remoteRef:
|
|
|
|
key: k8s/drone
|
|
|
|
property: gitea-client-id
|
2022-05-26 16:40:49 +02:00
|
|
|
- secretKey: DRONE_GITEA_CLIENT_SECRET
|
2022-05-23 23:27:50 +02:00
|
|
|
remoteRef:
|
|
|
|
key: k8s/drone
|
|
|
|
property: gitea-client-secret
|
2022-05-26 16:40:49 +02:00
|
|
|
- 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
|