Description of problem (please be detailed as possible and provide log snippests): init container for noobaa postgres db has "sh -x" oc get sts noobaa-db-pg -o yaml | grep -A 4 command: - command: - sh - -x - /init/initdb.sh env: As result in init container log we see oc logs noobaa-db-pg-0 --tail=-1 -c initialize-database | grep set=password ++ _psql --set=username=noobaa --set=password=CpYG7qwjZvrHhA== ++ psql --set ON_ERROR_STOP=1 --set=username=noobaa --set=password=CpYG7qwjZvrHhA== Version of all relevant components (if applicable): stable-4.14 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Is there any workaround available to the best of your knowledge? Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? yes Can this issue reproduce from the UI? If this is a regression, please provide more details to justify this: Steps to Reproduce: 1. create a noobaa CR 2. check the postgres sts logs 3. Actual results: Expected results: Additional info:
Verified using ODF 4.16.0-76. There is no postgres password display in noobaa-db-pg logs.
Confirmed that init container for Postgres DB pod was removed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:4591