For src secret I need to use ^[^srcnamespace$].$ regex otherwise replicator go into loop and recreate src secret all the time. I mean here when I use ".*" regex instead "^[^srcnamespace$].*$".
The odd thing is that in my real scenario I get the loop for one of the old existing namespace as soon when I change regex to " .\", but I'm not able to reproduce this by above code, even when annotation are the same.
I wil try to investigate it more and isolate this condition.
When I remove my-dst-secret, my-dst-secret2 and edit by kubectl for label in my-src-secret then replicator somehow still raise logs like below:
What is odd as dstnamespace/my-dst-secret and dstnamespace/my-dst-secret2 are no longer in cluster.
For issue 1, replicator should never touch source secrets.
For issue 2, replicator should not raise any message when destination secrets are removed for pull-base replication.
Hi.
Let assume I have a such code:
There are two issue.
For src secret I need to use ^[^srcnamespace$].$ regex otherwise replicator go into loop and recreate src secret all the time. I mean here when I use ".*" regex instead "^[^srcnamespace$].*$". The odd thing is that in my real scenario I get the loop for one of the old existing namespace as soon when I change regex to " .\", but I'm not able to reproduce this by above code, even when annotation are the same. I wil try to investigate it more and isolate this condition.
When I remove my-dst-secret, my-dst-secret2 and edit by kubectl for label in my-src-secret then replicator somehow still raise logs like below:
What is odd as dstnamespace/my-dst-secret and dstnamespace/my-dst-secret2 are no longer in cluster.
For issue 1, replicator should never touch source secrets. For issue 2, replicator should not raise any message when destination secrets are removed for pull-base replication.
Regards.