Closed roy-work closed 1 year ago
you're missing the file name from the schema location path so kubconform doesn't know which file to grab.
this is how the path should look in your case:
-schema-location default -schema-location ~/code/third-party/kubeconform/scripts/crds/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json
Hi @roy-work , I suspect @eyarz might have found the right solution? :crossed_fingers: Closing this issue :bow:
If I run a command such as,
I get a lot of output, such as:
Now, the
crds
directory specified contains a bunch of schema files ("crds
" is perhaps a bad name for the dir; they contain schemas, not CRDs):So … why is the schema still not found?