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

Missing kustomize.config.k8s.io/v1beta1 #9

Open
poikilotherm opened this issue Sep 19, 2019 · 1 comment
Open

Missing kustomize.config.k8s.io/v1beta1 #9

poikilotherm opened this issue Sep 19, 2019 · 1 comment

Comments

@poikilotherm
Copy link

Kubeval fails for any kustomization.yaml file as no schema is included for it.
As https://kustomize.io v2.0 is merged into kubectl 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)

@astroclark
Copy link

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.

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

2 participants