Skip to content
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

(possible) bug: unset bool val on krm obj #3348

Open
acpana opened this issue Dec 10, 2024 · 0 comments
Open

(possible) bug: unset bool val on krm obj #3348

acpana opened this issue Dec 10, 2024 · 0 comments

Comments

@acpana
Copy link
Collaborator

acpana commented Dec 10, 2024

Out of my work around the KRM filler and fuzzer I've observed that a bool set to false on the API object is not set on the KRM obj. Even if that value was expressed in the spec previously expressed as user intent. For instance:

	boolV := false // valid previously user set value that is not in the API obj
	krmBoolv := direct.LazyPtr(boolV) // nil not a pointer to false

could cause extra API calls if we wrongly detect a diff.

Note: I'm still investigating this and I want to see this happen end to end (in a test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant