Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing issue with non-existant .Template when using tpl function
This is a regression accidently introduced in #9957. A delete call had been used on the Template key of vals. This caused a condition where Template was not available when rendering via tpl. The delete happened after ExecuteTemplate so the issue is surpsising. It may possibly be a race condition. Existing tests did not catch it. I tried to create a test that directly tested the issue and was unable to replicate the error seen with real charts. This leads me to believe it is a race condition in the underlying Go template package. The delete call was not there before #9957. It should be safe to remove and keep that information. Closes #10082 Signed-off-by: Matt Farina <matt.farina@suse.com> (cherry picked from commit f895948)
- Loading branch information