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
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"