Joe Julian
Joe Julian
Sure, I do it all the time: ``` helm template foo | kubectl -n mynamespace delete -f - ``` I like to specify a specific namespace for safety.
That's fine. It'll complain but you didn't want it there anyway. If you do it again, it should complain about all the resources.
I also just noticed neither of us have the release name: ``` helm template myrelease firstchart-0.1.0.tgz ```
``` helm template firstapp firstchart-0.1.0.tgz | kubectl -n default delete -f - ```
When the chart renders the templates, the release name is used. If the resource names match, that will work.
According to [sprig documentation](http://masterminds.github.io/sprig/strings.html#trimall): ## trimAll Remove given characters from the front or back of a string: trimAll "$" "$5.00" The above returns 5.00 (as a string). --- I think...
When not using atomic upgrades, a failed state means that it requires manual intervention. The resources are left as they were applied and it's up to the user to resolve...
See also https://github.com/helm/helm/issues/11357
The immediate answer is no. Helm cannot support that use case. Could it in the future? My initial impression is that the core maintainers would not consider supporting the logic...
Please include more details. An example or explanation that can be followed to reproduce the issue is appreciated.