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]))
|
[dda.c4k-common.uberjar :as uberjar]))
|
||||||
|
|
||||||
(defn -main [& cmd-args]
|
(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 ::fqdn pred/fqdn-string?)
|
||||||
(s/def ::issuer pred/letsencrypt-issuer?)
|
(s/def ::issuer pred/letsencrypt-issuer?)
|
||||||
(s/def ::volume-total-storage-size (partial pred/int-gt-n? 5))
|
(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-defaults {:issuer "staging"})
|
||||||
|
|
||||||
(def config? (s/keys :req-un [::fqdn]
|
(def config? (s/keys :req-un [::fqdn]
|
||||||
:opt-un [::issuer]))
|
:opt-un [::issuer]))
|
||||||
|
|
||||||
(def auth? (s/keys :opt-un [::mailer-user ::mailer-pw]))
|
|
||||||
|
|
||||||
(def vol? (s/keys :req-un [::volume-total-storage-size
|
(def vol? (s/keys :req-un [::volume-total-storage-size
|
||||||
::number-of-websites]))
|
::number-of-websites]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue