Describe the bug
Property errors for map keys validation do not handle empty strings. Instead of a path like metadata.labels."" we get metadata.labels.
To Reproduce
Set map key to an empty string, run validation. The result is a property path without the empty string key element.
Expected behavior
The result should be a valid YAMLPath pointing at the empty key.
Describe the bug Property errors for map keys validation do not handle empty strings. Instead of a path like
metadata.labels.""
we getmetadata.labels
.To Reproduce Set map key to an empty string, run validation. The result is a property path without the empty string key element.
Expected behavior The result should be a valid YAMLPath pointing at the empty key.