You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use kubeconform with CRDs we're getting from a live kubernetes cluster :
❯ kubectl get crd -o name --no-headers | \
xargs -P 20 -I {} bash -c 'kubectl get {} -o json > "crds/$(basename {} .yaml).json"'
❯ cat file | kubeconform --strict $(for f in crds/*.json; do echo -schema-location "$f"; done) --summary
Summary: 381 resources found parsing stdin - Valid: 381, Invalid: 0, Errors: 0, Skipped: 0
This feels a bit cumbersome (and we also have a version of this without splitting into numerous small files), so we were wondering if there was any chance for the project to have a -schema-folder option which looks at json files in a given folder, instead of having file locations (or golang templated file locations).
The text was updated successfully, but these errors were encountered:
We are trying to use kubeconform with CRDs we're getting from a live kubernetes cluster :
This feels a bit cumbersome (and we also have a version of this without splitting into numerous small files), so we were wondering if there was any chance for the project to have a
-schema-folder
option which looks at json files in a given folder, instead of having file locations (or golang templated file locations).The text was updated successfully, but these errors were encountered: