What happened?
As a Korifi user
I removed a Service broker and created a new one with the same Service Offerings and Service plans. cf marketplace shows only one set of service offerings of a newly created broker. If I try to create a managed Service instance, I get an error message
Service offering 'postgresql15' is provided by multiple service brokers. Specify a broker name by using the '-b' flag
Inspecting k8s objects using following commands
kubectl -n cf get CFServiceOfferings,CFServicePlans
shows that the newly created Offerings and Plans exist alongside with Offering and Plans of already removed Service Broker.
What you expected to happen
Service offerings and Service plans of the removed Service broker are completely removed from Korifi's configuration.
Acceptance Criteria
GIVEN After removing a Service broker
WHEN I check either cf marketplace command or CFServiceOfferings and CFServicePlans k8s objects
THEN I do not see any leftovers of already removed Service Broker and its Service catalog
How to reproduce it (as minimally and precisely as possible)
- Create a service broker
- get its GUID
- Remove the service broker
- Make sure that CFServiceOfferings and CFServicePlans linked to the GUID of the removed ServiceBroker broker still exist in the
cf namespace
Anything else we need to know?
No response
Environment
Revision of codebase: v0.17.0
Kubernetes version v1.35.0
Cloud provider or hardware configuration: AWS
Others:
What happened?
As a Korifi user
I removed a Service broker and created a new one with the same Service Offerings and Service plans.
cf marketplaceshows only one set of service offerings of a newly created broker. If I try to create a managed Service instance, I get an error messageInspecting k8s objects using following commands
shows that the newly created Offerings and Plans exist alongside with Offering and Plans of already removed Service Broker.
What you expected to happen
Service offerings and Service plans of the removed Service broker are completely removed from Korifi's configuration.
Acceptance Criteria
GIVEN After removing a Service broker
WHEN I check either
cf marketplacecommand or CFServiceOfferings and CFServicePlans k8s objectsTHEN I do not see any leftovers of already removed Service Broker and its Service catalog
How to reproduce it (as minimally and precisely as possible)
cfnamespaceAnything else we need to know?
No response
Environment
Revision of codebase: v0.17.0
Kubernetes version v1.35.0
Cloud provider or hardware configuration: AWS
Others: