helm-conftest icon indicating copy to clipboard operation
helm-conftest copied to clipboard

Error With Ignoring Wildcard Files

Open joesan opened this issue 4 years ago • 0 comments

I'm using Kustomize to compose my k8s resources. I have a set of patch yamls in my Overlay folder that I want to ignore. With conftest, there is this plugin that takes care of this situation:

https://www.conftest.dev/options/#-ignore

How could I ignore this with this plugin?

Here is what I tried:

helm conftest helm-k8s -p test -i "*-patch.yaml"

But this fails:

Error: unknown shorthand flag: 'i' in -i=*-patch.yaml
Error: plugin "conftest" exited with error

As a reference, here is the project:

https://github.com/joesan/plant-simulator-deployment

joesan avatar Dec 10 '20 19:12 joesan