quay/quay-docs

Operator provisioned Postgresql credentials

JuozasA opened this issue · 0 comments

It could be worth mentioning that when Postgresql DB (for Quay and for Clair) is provisioned by Quay Operator, POSTGRES_ADMIN_PASSWORD environment variable is not being set:

https://github.com/redhat-cop/quay-operator/blob/8f6360ec4864a889a0965aa140b4158ff3bf079f/pkg/controller/quayecosystem/resources/deployments.go#L588

So the database secret database-root-password field is used only if they are using their own database (whether it is containerised or not):
https://github.com/quay/quay-docs/blob/master/modules/proc_deploy-quay-openshift-operator.adoc#specifying-database-credentials