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

Prevent target resource removal on removal of source #351

Open
alexsorkin opened this issue Oct 15, 2024 · 0 comments
Open

Prevent target resource removal on removal of source #351

alexsorkin opened this issue Oct 15, 2024 · 0 comments

Comments

@alexsorkin
Copy link

alexsorkin commented Oct 15, 2024

Is your feature request related to a problem? Please describe.
The PR Delete replicated keys when source Secret/Resource is deleted has created a problem for my case. I need the target to be preserved in the event of source removal.
The target (configmap) was pre-existing, and should be left in place after replicator source removal.

Describe the solution you'd like
New push method annotation, "preserve-target-on-removal" or "disable-cascade-removal"

Describe alternatives you've considered
The pre-fix implementation was fine with me.
Also the PR StripAnnotations may give an implicit solution, but its not obvious.

Additional context
Assume, you are patching pre-existing coredns configmap..
The configmap should be preserved in the event of replication source removal.
The cluster becomes dysfunctional using current implementation.

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