postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

authentication.superuser.password field in the postgres.yml is stored in plain text under postgres pod

Open sheel07 opened this issue 1 year ago • 0 comments

Please, answer some short questions which should help us to understand your problem / question better?

  • operator image : ghcr.io/zalando/postgres-operator:v1.10.1
  • environment : Kubernetes
  • Type of issue : Bug report

authentication.superuser.password field in the postgres.yml is stored in plain text even when we pass Kubernetes Secrets with base64 encoded password.

postgres@rdbms-pg-cluster-dev-1:~$ grep -i password postgres.yml password: '' password: RtttSedreSErSSErREreREEsSSSSSSSSsErERer password: Devloper123_ postgres@rdbms-pg-cluster-dev-1:~$

Is there any way in Zalando's Postgres Operator to have authentication.superuser.password field in encrypted form?

if encrytion is not possible within Zalando's Postgres Operator then, is there any other way to make postgres.yml more secure?

sheel07 avatar Aug 28 '24 09:08 sheel07