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

[Feature request] File exception #228

Open
douernesto opened this issue Sep 20, 2023 · 0 comments
Open

[Feature request] File exception #228

douernesto opened this issue Sep 20, 2023 · 0 comments

Comments

@douernesto
Copy link

I use Yamale to validate data on all files recursively on a directory that contains information about Kubernetes resources.
I just added a validation str(max=14) this one value cannot be longer that 14 characters, for all other resources thats is OK. However, I do have a file that I cannot change the value of this attribute (it has 16 characters), cause if I change it will recreate all the resources on that Kubernetes cluster.

Is there any way we can do file exception for an specific file or directory

For example:

yamale -s schemas/yamale.yaml data/tenancy/ --except "data/tenancy/file1.yaml"

@douernesto douernesto changed the title Feature request: File exception [Feature request] File exception Sep 20, 2023
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