-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
I have a chart that has the following directory structure:
templates/
-- configmaps/
---- configmap1.yaml
---- configmap2.yaml
-- routes/
---- route1.yaml
---- route2.yaml
-- secrets/
---- secrets1.yaml
---- secrets2.yaml
---- secrets3.yaml
If I was to run the test in the following format:
helm unit -t templates/ -c values.yaml -p tests/policies/
how can i reference route1.yaml in my test? I tried both of the following and neither was successful:
`package main
assert ["test 1"] {
input["route1.yaml"]
}`
and
`package main
assert ["test 1"] {
input["routes/route1.yaml"]
}`
If I move route1.yaml into the root of the templates directory the test will pass by referencing it as "route1.yaml"
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request