Open poikilotherm opened 5 years ago
fwiw, i came across http://json.schemastore.org/kustomization but --schema-location
and --additional-schema-locations
append an unwanted /master-standalone/kustomization-kustomize-v1beta1.json
:
$ kubeval --additional-schema-locations http://json.schemastore.org/kustomization kustomization.yaml
ERR - kustomization.yaml: Failed initalizing schema https://kubernetesjsonschema.dev/master-standalone/kustomization-kustomize-v1beta1.json: Could not read schema from HTTP, response status is 404 Not Found
Failed initalizing schema http://json.schemastore.org/kustomization/master-standalone/kustomization-kustomize-v1beta1.json: Could not read schema from HTTP, response status is 404 Not Found
It's unclear if i'm using that option correctly, however.
Kubeval fails for any
kustomization.yaml
file as no schema is included for it. As https://kustomize.io v2.0 is merged intokubectl
since 1.14., it would be superb to include the schema here.(Yeah, I know this is a moving target as it changed with newer releases of Kustomize)