From 2d930d15dd635073c817f942e096d0e15a7546c1 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 7 Apr 2023 15:28:59 +0200 Subject: [PATCH] fixed auth issues --- src/main/cljc/dda/c4k_forgejo/core.cljc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/cljc/dda/c4k_forgejo/core.cljc b/src/main/cljc/dda/c4k_forgejo/core.cljc index 1d1d0c4..5485dce 100644 --- a/src/main/cljc/dda/c4k_forgejo/core.cljc +++ b/src/main/cljc/dda/c4k_forgejo/core.cljc @@ -34,7 +34,7 @@ (filter #(not (nil? %)) (cm/concat-vec [(postgres/generate-config {:postgres-size :2gb :db-name "forgejo"}) - (postgres/generate-secret config) + (postgres/generate-secret auth) (when (contains? config :postgres-data-volume-path) (postgres/generate-persistent-volume (select-keys config [:postgres-data-volume-path :pv-storage-size-gb]))) (postgres/generate-pvc {:pv-storage-size-gb 5 @@ -47,11 +47,11 @@ (forgejo/generate-service-ssh) (forgejo/generate-data-volume config) (forgejo/generate-appini-env config) - (forgejo/generate-secrets config)] + (forgejo/generate-secrets auth)] (forgejo/generate-ingress-and-cert config) (when (contains? config :restic-repository) [(backup/generate-config config) - (backup/generate-secret config) + (backup/generate-secret auth) (backup/generate-cron) (backup/generate-backup-restore-deployment config)]) (when (:contains? config :mon-cfg)