-
Notifications
You must be signed in to change notification settings - Fork 20
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
Infinite reconcile loop when injecting multiple service bindings into a single application #66
Comments
I think what's happening is that when we apply the binding, we first remove the existing binding to restore the resource to a clean state, and then add the binding back in. The cleanup is too aggressive in removing state that isn't specifically for the binding being reconciled. That or there's an upstream bug in knative/pkg. |
From what I looked at, I think the psbinding package assumes 1 binding to 1 PodSpec mapping. |
With #75 I no longer see this behavior. Please reopen with a test case if you still see service bindings clashing |
There's still an upstream issue, tracking in #78 and knative/pkg#1786 |
Thanks, works for me as well |
When creating 2 separate ServiceBinding resources with different service selectors but pointing to same application (regular Deployment) the deployment gets into infinite reconcile loop.
Each version of deployment has only info from one of ServiceBinding CRs and it keeps switching
It seems that mounted volumes order keeps changing as well as env keeps being added and removed and each version of Deployment
The text was updated successfully, but these errors were encountered: