helm/pkg/engine
Matt Farina f895948ae2
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>
2021-08-31 10:19:54 -04:00
..
doc.go Removing tiller language 2020-05-21 15:26:16 -04:00
engine.go Fixing issue with non-existant .Template when using tpl function 2021-08-31 10:19:54 -04:00
engine_test.go Merge branch 'main' into feat/subcharts-scope 2021-08-25 10:18:31 -04:00
files.go Fix engine.newFiles doc comment 2020-02-06 11:13:20 -06:00
files_test.go
funcs.go fix linting error with lookup function (#7969) 2020-04-22 10:09:34 -06:00
funcs_test.go fix linting error with lookup function (#7969) 2020-04-22 10:09:34 -06:00
lookup_func.go Merge pull request #9066 from scaat/fix-specification 2021-06-02 11:55:53 +01:00