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").
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 whichkubernetes-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