Skip to content
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

Error With Ignoring Wildcard Files #11

Open
joesan opened this issue Dec 10, 2020 · 0 comments
Open

Error With Ignoring Wildcard Files #11

joesan opened this issue Dec 10, 2020 · 0 comments

Comments

@joesan
Copy link

joesan commented Dec 10, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant