kubernetes-replicator icon indicating copy to clipboard operation
kubernetes-replicator copied to clipboard

Replicate annotations

Open fiksn opened this issue 2 years ago • 3 comments
trafficstars

It appears this was delibrately omited, but there are some use-cases where you need to copy over existing annotations too. The only problem is that if replicator.v1.mittwald.de/* annotations were copied this could create an infinite loop. So the logic is to skip all annotations with that prefix.

There is also a new replicator.v1.mittwald.de/strip-annotations annotation added using which kubernetes-replicator behaves the same way as before. Without that it copies everything (beside the mentioned "internal annotations").

Fixes https://github.com/mittwald/kubernetes-replicator/issues/286

fiksn avatar Nov 14 '23 10:11 fiksn

+1

oubeichen avatar Dec 13 '23 09:12 oubeichen

any plans on merging this ? we need this feature as well

pbikki avatar May 31 '24 17:05 pbikki