fixes an issue with helm change in v3.14.1
till helm v3.13.x engine initialization was based on config: ref and because of that the check to create engine's lookup func pass in case of nil config.
but in helm v3.14.x clientprovider is introduced and the clientProvider is not nil even if we pass nil config. ref
and then the check is also modified and now relies on the clientprovider.
So if we initialize Engine using New function with nil config it will cause this lookup function to be used even though the config is nil now. Which can cause issues while rendering templates. That's why replaced the constructor call with type initialization.
bump helm to v3.14.1 and go to 1.21
fixes an issue with helm change in v3.14.1 till helm v3.13.x engine initialization was based on config: ref and because of that the check to create engine's lookup func pass in case of nil config. but in helm v3.14.x clientprovider is introduced and the clientProvider is not nil even if we pass nil config. ref and then the check is also modified and now relies on the clientprovider. So if we initialize Engine using New function with nil config it will cause this lookup function to be used even though the config is nil now. Which can cause issues while rendering templates. That's why replaced the constructor call with type initialization.
bump golangci-lint to v1.54.0