Open willzhang opened 2 years ago
You can also edit pg_hba.conf to trust
all connections :smiling_face_with_tear: , then passwords are ignored.
Seriously, I think, it's an anti pattern these days to set human readable passwords in conf files or yaml manifests. There must be a way in harbor to reference a K8s secret and password key.
That doesn't answer the question. It is possible to set superuser password.
If I try setting a user password by creating the corresponding secrets with a certain password. After creating the custom resource for the cluster. The operator overwrites my secret with a randomly generated one. I don't have human readable passwords anywhere and RBAC manages access to passwords.
How would I make this work?
I have the same doubt, I want to create my own password. Is it possible?
@FxKu It's not about setting human-readable password, it's about generating it somewhere else (terraform, vault, whatever) and setting it in idempotent way that aligns with other services. Is there a way to set password for user instead of automatically generating it?
Other providers typically allow setting a secret name from where password is read
Fully agree with @nick4fake also linked to https://github.com/zalando/postgres-operator/issues/847
Please, answer some short questions which should help us to understand your problem / question better?
Which image of the operator are you using?
Where do you run it - cloud or metal? Kubernetes or OpenShift?
Are you running Postgres Operator in production? [yes | no]
Type of issue? [Bug report, question, feature request, etc.]
question
i want install Automatic installation harbor ,when i install harbor helm with external database , i need database.password, the default one is Randomly generated, can i define password by myself in operator?
the harbor helm charts
the features i want
password