-
Notifications
You must be signed in to change notification settings - Fork 22
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
Validate against k8s schema #113
Comments
kubeconform also looks like a way to do this: https://github.com/onedr0p/home-ops/blob/main/.github/scripts/kubeconform.sh |
More kubeconform examples: https://github.com/fluxcd/flux2-kustomize-helm-example/blob/main/scripts/validate.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Incorporate the library https://github.com/willthames/kubernetes-validate to run against the built objects and ensure they are valid k8s objects against the schema.
This likely makes sense for the
test
command.This may require specifying a different k8s version to validate against, and can allow users to validate in CI
The text was updated successfully, but these errors were encountered: