-
Notifications
You must be signed in to change notification settings - Fork 19
WIP: only update the status if there is a change in the deployment #815
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
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rphillips The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
fb0c623
to
f18dcaa
Compare
f18dcaa
to
eb1d9b4
Compare
@rphillips: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
// CRD informer | ||
crdInformer.Apiextensions().V1().CustomResourceDefinitions().Informer(), | ||
// for the deployment and its configmap, secret, daemonsets. | ||
kubeInformersForNamespaces.InformersFor(c.operatorNamespace).Admissionregistration().V1().MutatingWebhookConfigurations().Informer(), |
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.
Why would we have informers for the operator namespace for validating or mutating webhooks?
I thought they were cluster wide.
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.
One is supposed to have informers for all the objects being created by the operator to use as an eventer. We might be able to remove the cluster wide ones though.
The reconcile loop was triggering every 10s or so. This fix only updates the status when the deployment changes.