Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run "helm upgrade" but suppress warnings

I want to upgrade a Helm chart but have warnings about deprecated API's be suppressed from being sent to standard error. I still want errors to appear.

Is there a built-in way to do this, something like "help upgrade --suppress-warnings"?

like image 513
rlandster Avatar asked Oct 15 '25 15:10

rlandster


1 Answers

No, there is no built-in way to do this in Helm. You will have to use a workaround such as redirecting standard error to /dev/null when running the Helm upgrade command. For example:

helm upgrade 2>/dev/null

like image 112
apan Avatar answered Oct 17 '25 07:10

apan