community icon indicating copy to clipboard operation
community copied to clipboard

How to print a prompt in the terminal when the upgrade hook is executed?

Open AtlanCI opened this issue 1 year ago • 1 comments

contexts

My helm is a full-stack application with many apps such as redis, mq, database, etc. Each app has a separate database scheme. When I update it, there will be some scheme changes. These changes are not automated and need to be reviewed by the user. I want to use the helm upgrade hook to accomplish this, the hook starts a POD which provides a web page showing all the scheme changes. But when I use the hook I realize that my notes.txt information is not printed. I can't tell the user that they should go to this web page.

AtlanCI avatar Jul 16 '23 12:07 AtlanCI