Closed lucasgameiroborges closed 1 week ago
Hi - is there background somewhere on why the postgresql_client interface has manually crafted JSON rather than a schema.py that auto-generates the JSON?
Hi - is there background somewhere on why the postgresql_client interface has manually crafted JSON rather than a schema.py that auto-generates the JSON?
Hi, @tonyandrewmeyer! I believe it's because the postgresql_client
and the other Data Platform interfaces were created in either 2022 or early 2023. I see that maybe the first PR that used schema.py
to auto-generate the JSON was introduced in March 2023.
Hi there - Not sure who to ping to get a review here? @tonyandrewmeyer or maybe @PietroPasotti ?
Hi, @tonyandrewmeyer! I believe it's because the
postgresql_client
and the other Data Platform interfaces were created in either 2022 or early 2023. I see that maybe the first PR that usedschema.py
to auto-generate the JSON was introduced in March 2023.
Ok, thanks. I think we'll want to have all the interfaces defined the same way (manual schema.py, automated JSON) eventually, but I guess it doesn't have to be done now.
Adds a
tls
flag to indicate wether TLS is being used on the provider's side +tls-ca
field for the CA chain of certificates.See corresponding implementation PR here: https://github.com/canonical/postgresql-k8s-operator/pull/719