defenseunicorns / uds-package-postgres-operator

🏭 UDS Postgres Operator Zarf Package
Apache License 2.0
4 stars 1 forks source link

Add docs: ssl mode must be used when connecting to postgre as currently configured. #49

Open JoeHCQ1 opened 2 weeks ago

JoeHCQ1 commented 2 weeks ago

Describe what should be investigated or refactored

Documentation should be improved to include instruction to use SSL when connecting to postgres. If you don't the pg_conf will drop your connection.

Note, you can view pg_conf by shelling into the postgres container and then catting the pg related yaml.

Links to any relevant code

You can see here how I had to instruct Harbor to use ssl when connecting to postgre. Until it did that, I received back a fatal connection error.

You can see this Harbor setting here: https://github.com/goharbor/harbor-helm/blob/main/values.yaml#L943

Racer159 commented 2 weeks ago

Looks like there may have been two links? do you have the one to your harbor package?

Racer159 commented 2 weeks ago

Found it: https://github.com/defenseunicorns-dashdays/uds-package-harbor/blob/acb1754bf30a4566e05d03e00b4817a368dd5499/values/common-values.yaml#L348

Racer159 commented 2 weeks ago

I think this is a decent good first issue - we have been following a pattern of docs/configuration.md and one could be started for this repo with a note about that config - example for GitLab: https://github.com/defenseunicorns/uds-package-gitlab/blob/main/docs/configuration.md