-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
detects properties without contents as diff #27
Comments
The fact that the key is there doesn't change even if there is an empty field. It's diff as a YAML document. But I know k8s and other tools will ignore empty values and perform as default. So maybe it's better to make an option such as |
Yeah, the existence of a key may have a meaning and should be treated as such. Although since we defined now that additional keys trigger a diff, that should also happen on |
@dionysius You can do:
and diff result is:
Also, I added
|
Thanks for everything. Will check and report! |
If you have more conversation, please reopen (or recreate) issue. |
Test case:
Test result:
It does not diff for
creationTimestamp: <nil>
, which seems to be a intentional, so this test case above should not throw a diff for empty properties either?The text was updated successfully, but these errors were encountered: