[bitnami/postgresql-repmgr] Support running scripts on primary node when container starts
Revival of #70737
Description of the change
This adds the ability to run scripts on startup always, a feature that is present in other containers such as mariadb with the /docker-entrypoint-startdb.d endpoint
Benefits
It is currently a huge pain in the behind to run scripts at startup everytime the container starts, requiring an undocumented change to the entrypoint for which there is no information anywhere
Applicable issues
- fixes #70606
Hi @fmulero, so sorry, I am unable to see any comments on the code, may I ask if its still a draft? Thanks so much!
Hi, so sorry for the holdup, i've been quite busy. Just a question regarding the handling of scripts: Should preinit be added to the custom scripts function or should that be a seperate PR?
Hi, so sorry for the holdup, i've been quite busy. Just a question regarding the handling of scripts: Should preinit be added to the custom scripts function or should that be a seperate PR?
Good question. I think that could be done in a different PR, that function only supports sh files.
This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.