MonkeyCanCode opened a new pull request, #2808:
URL: https://github.com/apache/polaris/pull/2808
The Helm chart installation was failing with a type error when processing
authentication values. This was caused by the `tpl` function being incorrectly
used on string literals instead of templates, leading to a `cannot retrieve
Template.Basepath` error.
This commit resolves the issue by removing the unnecessary `tpl` calls from
the `polaris.configVolumeAuthenticationOptions` helper template.
Sample error reference:
```
➜ polaris git:(main) ✗ helm upgrade --install --namespace polaris \
--values helm/polaris/ci/persistence-values.yaml \
polaris helm/polaris
Release "polaris" does not exist. Installing it now.
Error: template: polaris/templates/deployment.yaml:130:12: executing
"polaris/templates/deployment.yaml" at <include "polaris.configVolume" .>:
error calling include: template: polaris/templates/_helpers.tpl:179:10:
executing "polaris.configVolume" at <include
"polaris.configVolumeAuthenticationOptions" (list "" .Values.authentication)>:
error calling include: template: polaris/templates/_helpers.tpl:351:29:
executing "polaris.configVolumeAuthenticationOptions" at <.>: wrong type for
value; expected chartutil.Values; got []interface {}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]