Skip to content

[FEATURE] Reconcile (Recreate) Subscription on SUBSCRIBE_FAILED #178

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

Open
Rand0mF opened this issue May 16, 2025 · 0 comments
Open

[FEATURE] Reconcile (Recreate) Subscription on SUBSCRIBE_FAILED #178

Rand0mF opened this issue May 16, 2025 · 0 comments

Comments

@Rand0mF
Copy link

Rand0mF commented May 16, 2025

Context
When creating a Subscription on BTP, the subscription to the target application itself can fail. Right now this is reflected at status.atProvider.state as SUBSCRIBE_FAILED. However, sometimes this is expected and can automatically resolve with retrying (reconciling). This is especially relevant when the Subscription would only be successful once other resources are successfully reconciled (e.g. when applying all infrastructure resources at the same time, which is a common pattern with crossplane)

Scope
The pattern of "Eventually consistent" should also be followed here and a retry/recreate should be triggered. I think it would make sense to add a config parameter like recreateOnSubscriptionFailure: true.

Out of scope

Technical Steps

Workarounds & Alternatives
Manually deleting the subscription on BTP UI will fix it, as it will reconcile again and recreate it. Manually deleting the K8s resource does not work because of this issue: #177

Additional context
Unfortunately there is no simple "retry" feature on BTP, technically the subscription needs to be deleted and recreated in order to retry.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant