Skip to content

Error With Ignoring Wildcard Files #11

Open
@joesan

Description

@joesan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions