Skip to content

feat: Add service instance sharing#219

Open
lennardrother wants to merge 20 commits intomainfrom
feat/service-instance-sharing
Open

feat: Add service instance sharing#219
lennardrother wants to merge 20 commits intomainfrom
feat/service-instance-sharing

Conversation

@lennardrother
Copy link
Copy Markdown
Collaborator

@lennardrother lennardrother commented Mar 9, 2026

Summary

Closes #209

Adds support for CF service instance sharing, allowing a ServiceInstance to be shared with additional Cloud Foundry spaces via the new sharedSpaces field.

  • API: Added sharedSpaces []SpaceReference to ServiceInstanceParameters, allowing users to declare which spaces a service instance should be shared with
  • Client: Added AreSharedSpacesUpToDate, UpdateSharedSpaces, and helper functions to compute and reconcile the diff between desired and current shared spaces
  • Controller: Integrated shared space reconciliation into the observe, create, and update flows
  • Tests: Unit tests for client-level sharing logic (diff, share, unshare) and controller-level reconciliation; E2E test coverage for shared service instances
  • Example: Added examples/serviceinstance/service_instance_shared.yaml

@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 9, 2026 10:49 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 9, 2026 13:48 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 9, 2026 14:28 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 10, 2026 08:43 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 10, 2026 10:29 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 13, 2026 10:01 — with GitHub Actions Inactive
@lennardrother lennardrother force-pushed the feat/service-instance-sharing branch from 0484a93 to 25c4ae3 Compare March 13, 2026 10:10
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 13, 2026 10:13 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 13, 2026 12:28 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 16, 2026 14:51 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 16, 2026 15:07 — with GitHub Actions Inactive
@lennardrother lennardrother force-pushed the feat/service-instance-sharing branch from 9722aad to 18780d5 Compare March 16, 2026 15:09
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 16, 2026 15:09 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 16, 2026 15:24 — with GitHub Actions Inactive
@SatabdiG SatabdiG temporarily deployed to pr-e2e-no-approval March 17, 2026 10:45 — with GitHub Actions Inactive
@SatabdiG SatabdiG temporarily deployed to pr-e2e-no-approval March 17, 2026 13:27 — with GitHub Actions Inactive
@SatabdiG SatabdiG temporarily deployed to pr-e2e-no-approval March 17, 2026 13:42 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 17, 2026 13:57 — with GitHub Actions Inactive
@lennardrother lennardrother marked this pull request as ready for review March 17, 2026 14:07
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 20, 2026 09:19 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 20, 2026 09:26 — with GitHub Actions Inactive
@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 20, 2026 09:28 — with GitHub Actions Inactive
Copy link
Copy Markdown
Collaborator

@SatabdiG SatabdiG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work 🚀 , mostly nits and some comments

@lennardrother lennardrother temporarily deployed to pr-e2e-no-approval March 23, 2026 09:34 — with GitHub Actions Inactive
@lennardrother lennardrother requested a review from SatabdiG March 23, 2026 13:38
Copy link
Copy Markdown
Collaborator

@SatabdiG SatabdiG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@lennardrother
Copy link
Copy Markdown
Collaborator Author

Waiting for stakeholder feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for CF instance sharing

2 participants