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

Null field value triggers update #319

Open
noe-charmet opened this issue Jul 23, 2021 · 3 comments
Open

Null field value triggers update #319

noe-charmet opened this issue Jul 23, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@noe-charmet
Copy link

We are using a CompositeController to maintain some pods with the Recreate strategy.
What I found out is that when the webhook returns a field as null/undefined, Kubernetes would not create that field. However metacontroller takes it into account when calculating its diff. This causes an infinite recreate loop as the field does not exist on the resource, but it is returned by the webhook as existing with a null value.

@grzesuav
Copy link
Contributor

@noe-charmet is it the same as in #295 (comment) ?

@noe-charmet
Copy link
Author

Yes it looks very much like it. Sorry for the double issue

@grzesuav
Copy link
Contributor

no problem, I need to add this to troubleshooting section of documentation

@grzesuav grzesuav added the documentation Improvements or additions to documentation label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants