Set auth to nil
This commit is contained in:
parent
bca85d1da4
commit
4013da36b5
2 changed files with 1 additions and 5 deletions
|
@ -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))
|
||||
|
|
|
@ -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]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue