noobaa / noobaa-operator

Operator for NooBaa - object data service for hybrid and multi cloud environments :cloud: :wrench:
https://www.noobaa.io
Apache License 2.0
103 stars 101 forks source link

[Direct to 5.15] Add persistent logs for Postgres upgrade phase #1374

Closed dannyzaken closed 5 months ago

dannyzaken commented 5 months ago

Explain the changes

  1. redirecting stdout in the upgrade init containers to files on the pv

Issues: Fixed #xxx / Gap #xxx

  1. https://bugzilla.redhat.com/show_bug.cgi?id=2292203

Testing Instructions:

  1. after upgrading 4.14 to 4.15, rsh to the DB pod and make sure that /var/lib/pgsql/upgradedb.log and /var/lib/pgsql/dumpdb.log exist