Fixed ingress validation

This commit is contained in:
Clemens Geibel 2022-02-11 14:55:37 +01:00
parent d35339a928
commit 64e01f1bd7

View file

@ -38,7 +38,7 @@
(generate-group
"provider"
(concat-vec
(br/generate-input-field "ingress-type" "(Optional) Your ingress type (traefik/ngingx):" "traefik")
(br/generate-input-field "ingress-type" "(Optional) Your ingress type (traefik/nginx):" "")
(br/generate-input-field "postgres-data-volume-path" "(Optional) Your postgres-data-volume-path if Persistent Volumes are not generated by an Operator:" "")))
(generate-group
"credentials"
@ -76,7 +76,7 @@
(defn validate-all! []
(br/validate! "fqdn" ::shynet/fqdn)
(br/validate! "issuer" ::shynet/issuer :optional true :deserializer keyword)
(br/validate! "ingress-type" ::shynet/ingress-type :optional true)
(br/validate! "ingress-type" ::shynet/ingress-type :optional true :deserializer keyword)
(br/validate! "postgres-data-volume-path" ::pgc/postgres-data-volume-path :optional true)
(br/validate! "auth" core/auth? :deserializer edn/read-string)
(br/set-validated!))