Give drone persistent database
This commit is contained in:
parent
259b78b92d
commit
6577838ade
|
@ -39,3 +39,11 @@ spec:
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: k8s/drone
|
key: k8s/drone
|
||||||
property: gitea-server
|
property: gitea-server
|
||||||
|
- secretKey: DRONE_DATABASE_DRIVER
|
||||||
|
remoteRef:
|
||||||
|
key: k8s/drone
|
||||||
|
property: drone-db-driver
|
||||||
|
- secretKey: DRONE_DATABASE_DATASOURCE
|
||||||
|
remoteRef:
|
||||||
|
key: k8s/drone
|
||||||
|
property: drone-db-url
|
|
@ -24,7 +24,7 @@ in {
|
||||||
host all all fd42:8db7:2e6b:8e9b:216:3eff::/96 trust
|
host all all fd42:8db7:2e6b:8e9b:216:3eff::/96 trust
|
||||||
'';
|
'';
|
||||||
ensureDatabases =
|
ensureDatabases =
|
||||||
[ "gitea" "vault" "vaultwarden" "authentik" "umami" ];
|
[ "gitea" "vault" "vaultwarden" "authentik" "umami" "drone" ];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "gitea";
|
name = "gitea";
|
||||||
|
@ -43,6 +43,7 @@ in {
|
||||||
ensurePermissions = { "DATABASE \"authentik\"" = "ALL PRIVILEGES"; };
|
ensurePermissions = { "DATABASE \"authentik\"" = "ALL PRIVILEGES"; };
|
||||||
}
|
}
|
||||||
(user "umami")
|
(user "umami")
|
||||||
|
(user "drone")
|
||||||
];
|
];
|
||||||
|
|
||||||
enableTCPIP = true;
|
enableTCPIP = true;
|
||||||
|
|
Loading…
Reference in a new issue