From 0579d3331c8ca44d01c0880b1bacb8bf66b74c9e Mon Sep 17 00:00:00 2001 From: bom Date: Tue, 28 Mar 2023 12:07:48 +0200 Subject: [PATCH] Correct monitoring spec keywords --- src/main/cljc/dda/c4k_forgejo/core.cljc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/cljc/dda/c4k_forgejo/core.cljc b/src/main/cljc/dda/c4k_forgejo/core.cljc index 7378c0a..1d1d0c4 100644 --- a/src/main/cljc/dda/c4k_forgejo/core.cljc +++ b/src/main/cljc/dda/c4k_forgejo/core.cljc @@ -10,9 +10,6 @@ (def config-defaults {:issuer "staging"}) -(s/def ::mon-cfg mon/config?) -(s/def ::mon-auth mon/auth?) - (def config? (s/keys :req-un [::forgejo/fqdn ::forgejo/mailer-from ::forgejo/mailer-host-port @@ -21,13 +18,13 @@ ::forgejo/default-app-name ::forgejo/service-domain-whitelist ::backup/restic-repository - ::mon-cfg])) + ::mon/mon-cfg])) (def auth? (s/keys :req-un [::postgres/postgres-db-user ::postgres/postgres-db-password ::forgejo/mailer-user ::forgejo/mailer-pw ::backup/aws-access-key-id ::backup/aws-secret-access-key] :opt-un [::backup/restic-password ; TODO gec: Is restic password opt or req? - ::mon-cfg])) + ::mon/mon-cfg])) (def vol? (s/keys :req-un [::forgejo/volume-total-storage-size]))