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

support resource detachment on RGI deletion #183

Open
a-hilaly opened this issue Jan 9, 2025 · 0 comments
Open

support resource detachment on RGI deletion #183

a-hilaly opened this issue Jan 9, 2025 · 0 comments

Comments

@a-hilaly
Copy link
Member

a-hilaly commented Jan 9, 2025

Feature Description

Currently when deleting a ResourceGroup Instance (RGI), all managed sub resources are automatically deleted. We need to add support for a detach-on-deletion annotation (kro.run/detach-on-deletion: "true") that will release managed resources from kro's control without deleting them when the RGI is deleted. This will allow operators to preserve important resources for debugging, migration scenarios, or cases where resources need to outlive their parent RGI.

Example:

apiVersion: kro.run/v1alpha1
kind: Application
metadata:
  name: my-application
  annotations:
    kro.run/detach-on-deletion: "true"
spec:
  name: my-app
  image: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant