-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix(controller): add missing namespace index from workflow informer #12666
fix(controller): add missing namespace index from workflow informer #12666
Conversation
Due to the namespace index missing from the workflow informer the healthz endpoint could not list namespace indexes. Leading to the following warning message everytime the healthz endpoint is called. This fix has been verified in our environment. Related Slack thread: https://cloud-native.slack.com/archives/C01QW9QSSSK/p1707918209805259 Signed-off-by: Ryan Currah <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This is a common pattern and appears to do the right thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me and tests continue to pass, so does not seem to cause any regressions either, and should improve performance.
Thanks for root causing this and fixing it! |
No problem @agilgur5! |
…rgoproj#12666) Signed-off-by: Ryan Currah <[email protected]>
…rgoproj#12666) Signed-off-by: Ryan Currah <[email protected]>
…rgoproj#12666) Signed-off-by: Ryan Currah <[email protected]> Signed-off-by: Isitha Subasinghe <[email protected]>
…rgoproj#12666) Signed-off-by: Ryan Currah <[email protected]>
…rgoproj#12666) Signed-off-by: Ryan Currah <[email protected]>
…rgoproj#12666) Signed-off-by: Ryan Currah <[email protected]>
Due to the namespace index missing from the workflow informer the healthz endpoint could not list namespace indexes.
Leading to the following warning message:
Everytime the healthz endpoint is called.
This fix has been verified in our environment by building the
workflow-controller
image from scratch and deploying it.Related Slack thread: https://cloud-native.slack.com/archives/C01QW9QSSSK/p1707918209805259
Fixes
Fixes healthz endpoint not being able to list namespace indexes.
Motivation
These changes are similar to what others have done to resolve the issue.
Modifications
Added the namespace index to the workflow informer.
Verification
Deployed to our environment hit the healthz endpoint with
curl http://127.0.0.1:6060/healthz
and checked for the log message. It no longer appears.