We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-kubernetes-version=X.Y
X.Y.Z
Version: v0.4.13
Smallest repro:
cat > foo.yaml <<EOF apiVersion: v1 kind: ConfigMap metadata: name: foo data: {} EOF $ kubeconform -kubernetes-version=1.20 foo.yaml foo.yaml - ConfigMap foo failed validation: could not find schema for ConfigMap $ kubeconform -kubernetes-version=1.20.0 foo.yaml && echo OK OK
The error should be something more clear, like just specify kubernetes-version as X.Y.Z rather as X.Y.
specify kubernetes-version as X.Y.Z rather as X.Y
The text was updated successfully, but these errors were encountered:
Hi @PawelLipski , indeed the kubernetes version need to be x.y.z and something present in this repo https://github.com/yannh/kubernetes-json-schema . We could do some increased validation of the value to fail earlier.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Version: v0.4.13
Smallest repro:
The error should be something more clear, like just
specify kubernetes-version as X.Y.Z rather as X.Y
.The text was updated successfully, but these errors were encountered: