Set auth to nil

This commit is contained in:
erik 2022-09-21 15:59:27 +02:00
parent bca85d1da4
commit 4013da36b5
2 changed files with 1 additions and 5 deletions

View file

@ -6,4 +6,4 @@
[dda.c4k-common.uberjar :as uberjar]))
(defn -main [& cmd-args]
(uberjar/main-common "c4k-website" website/config? website/auth? website/config-defaults core/k8s-objects cmd-args))
(uberjar/main-common "c4k-website" website/config? nil website/config-defaults core/k8s-objects cmd-args))

View file

@ -21,16 +21,12 @@
(s/def ::fqdn pred/fqdn-string?)
(s/def ::issuer pred/letsencrypt-issuer?)
(s/def ::volume-total-storage-size (partial pred/int-gt-n? 5))
(s/def ::mailer-user pred/bash-env-string?)
(s/def ::mailer-pw pred/bash-env-string?)
(def config-defaults {:issuer "staging"})
(def config? (s/keys :req-un [::fqdn]
:opt-un [::issuer]))
(def auth? (s/keys :opt-un [::mailer-user ::mailer-pw]))
(def vol? (s/keys :req-un [::volume-total-storage-size
::number-of-websites]))