-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only .yaml template files are supported #146
Comments
add yml and tpl to supported file extensions write a warning when files are ignored Signed-off-by: Richard Lavey <richard.lavey@calastone.com>
regarding regarding |
Can you merge this PR? I do not see a reason why provided change cannot be delivered. helm-unittest comes with test which perfectly matches to this problem, the only one difference is that input file has .yaml extension: |
Update to go 1.20.4
There is a switch statement
helm-unittest/pkg/unittest/test_job.go
Line 613 in a12ec70
that adds rendered files to the manifest used by the test engine. This filters on the file extension of the template file and only supports
.yaml
and.txt
. Any other extension (e.g..yml
,.tpl
) is silently ignored.This caused me a lot of grief as my templates were
.tpl
and I got the errortemplate "test-chart/templates/web.tpl" not exists or not selected in test suite
when running my tests.I suggest the following:
.yml
and.tpl
are added to.yaml
default:
is added to the switch to log that extension X is not supported and has been ignoredThe text was updated successfully, but these errors were encountered: