Skip to content

Commit

Permalink
mySQL TLS options
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed May 9, 2024
1 parent ae3925a commit 3f57147
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/config/schema/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,14 @@ impl Builder<Schemas, ()> {
.new_field("tls.enable")
.label("Enable TLS")
.help("Use TLS to connect to the store")
.display_if_eq("type", ["postgresql"])
.display_if_eq("type", ["postgresql", "mysql"])
.default("false")
.typ(Type::Boolean)
.build()
.new_field("tls.allow-invalid-certs")
.label("Allow Invalid Certs")
.help("Allow invalid TLS certificates when connecting to the store")
.display_if_eq("type", ["postgresql", "elasticsearch"])
.display_if_eq("type", ["postgresql", "mysql", "elasticsearch"])
.default("false")
.typ(Type::Boolean)
.build()
Expand Down Expand Up @@ -574,7 +574,7 @@ impl Builder<Schemas, ()> {
.build()
.new_form_section()
.title("TLS")
.display_if_eq("type", ["postgresql", "elasticsearch"])
.display_if_eq("type", ["postgresql", "mysql", "elasticsearch"])
.fields(["tls.enable", "tls.allow-invalid-certs"])
.build()
.new_form_section()
Expand Down

0 comments on commit 3f57147

Please sign in to comment.