Shivendra Mishra
Shivendra Mishra

Reputation: 688

Helm hook not triggered post upgrade

I have been trying to use helm hook example from this page. I had just changed the command to touch /tmp/flag from the first example. But that doesn't seem to get executed, I couldn't find any flag file in the /tmp. Is there any way I can attach stdout of the hook command and visualit output.

Upvotes: 0

Views: 270

Answers (1)

rkosegi
rkosegi

Reputation: 14618

Helm hooks runs in their own containers.

So your file /tmp/flag is touched inside hook container, which is then discarded upon completion.

Use PVC to share filesystem between hook POD and your application POD

Upvotes: 3

Related Questions