Skip to content

Conversation

@jochenehret
Copy link
Contributor

@jochenehret jochenehret commented Feb 9, 2026

Description of the Change

The PR introduces a new command "cleanup-outdated-service-bindings". It allows the user to easily clean up multiple service bindings by removing the oldest binding(s) for a given application. The number of bindings to keep can be specified. The cleanup action can also be narrowed down to a specific service instance.

Note: This PR depends on #3710 (enable multi binding feature for integration tests).

Why Is This PR Valuable?

Allows users to clean up old service bindings with one CF CLI command.

Applicable Issues

https://github.com/cloudfoundry/community/blob/main/toc/rfc/rfc-0040-service-binding-rotation.md#cf-cli

How Urgent Is The Change?

Not super-urgent.

Other Relevant Parties

* deletes outdated service credential bindings for a given app
* can be narrowed down to bindings of one specific service instance
* number of bindings to keep can also be specified (default: 1)
* for the full workflow, see https://github.com/cloudfoundry/community/blob/main/toc/rfc/rfc-0040-service-binding-rotation.md#cf-cli
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.

2 participants