-
Notifications
You must be signed in to change notification settings - Fork 123
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
Annotations and Labels without values are not detected #287
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the resource below, I expect kubeconfig to complain about annotation values being empty (or null)
Unfortunately, the ObjectMeta schema does not encode all requirements (or the schema validation package cannot detect missing values). I suspect that kubeconform would need to separately validate these requirements:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go#L44-L67
Similar to #275, #286, and #240
The text was updated successfully, but these errors were encountered: