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

Multi-ServiceBindings for a single application #75

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

scothis
Copy link
Contributor

@scothis scothis commented Oct 5, 2020

Better handle multiple ServiceBinding resources each targeting the same
application resource. Depending on the order ServiceBindings are applied
to the resource, the order of the resulting volumes, volume mounts and
environment variables could differ. This difference could create churn
on the API server for semantically equivalent resources. Now, we attempt
to sort the entries injected into these lists for the ServiceBindings.

Resolves #66

@codecov
Copy link

codecov bot commented Oct 5, 2020

Codecov Report

Merging #75 into main will increase coverage by 0.31%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   91.05%   91.37%   +0.31%     
==========================================
  Files          18       18              
  Lines         548      568      +20     
==========================================
+ Hits          499      519      +20     
  Misses         28       28              
  Partials       21       21              
Impacted Files Coverage Δ
...nal/v1alpha2/servicebindingprojection_lifecycle.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f32ed39...f026a05. Read the comment docs.

Better handle multiple ServiceBinding resources each targeting the same
application resource. Depending on the order ServiceBindings are applied
to the resource, the order of the resulting volumes, volume mounts and
environment variables could differ. This difference could create churn
on the API server for semantically equivalent resources. Now, we attempt
to sort the entries injected into these lists for the ServiceBindings.

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@scothis scothis marked this pull request as ready for review October 7, 2020 20:13
@scothis scothis merged commit a940a22 into vmware-tanzu:main Oct 7, 2020
@scothis scothis deleted the multi-binding branch October 7, 2020 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required CLA not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite reconcile loop when injecting multiple service bindings into a single application
2 participants