Fixed ingress validation
This commit is contained in:
parent
d35339a928
commit
64e01f1bd7
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
||||||
(generate-group
|
(generate-group
|
||||||
"provider"
|
"provider"
|
||||||
(concat-vec
|
(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:" "")))
|
(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
|
(generate-group
|
||||||
"credentials"
|
"credentials"
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
(defn validate-all! []
|
(defn validate-all! []
|
||||||
(br/validate! "fqdn" ::shynet/fqdn)
|
(br/validate! "fqdn" ::shynet/fqdn)
|
||||||
(br/validate! "issuer" ::shynet/issuer :optional true :deserializer keyword)
|
(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! "postgres-data-volume-path" ::pgc/postgres-data-volume-path :optional true)
|
||||||
(br/validate! "auth" core/auth? :deserializer edn/read-string)
|
(br/validate! "auth" core/auth? :deserializer edn/read-string)
|
||||||
(br/set-validated!))
|
(br/set-validated!))
|
||||||
|
|
Loading…
Reference in a new issue