mittwald/kubernetes-replicator

Support removing labels upon replication

timbuchwaldt opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
When installing applications with ArgoCD or similar GitOps systems, detection of association to a managed application is done by a label. In our case we use a Kafka operator to create secrets (based on our GitOps settings), but then replicate those secrets. As this newly replicated secret isn't part of the GitOps-based description of the desired state, those secrets are detected as to-be-deleted.

Describe the solution you'd like
A flag that allows removing labels by key during replication.

Describe alternatives you've considered
Ignoring resources marked as to-be-deleted, not really an option.

Additional context
n/a