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

Reflector keeps deleting manually mirrored secrets

Open mateuszdrab opened this issue 2 years ago • 1 comments

I have an issue with reflector where after applying a mirror secret, it will get reflected correctly and then deleted later. I traced the event in the log but I do not understand why this happens.

Log states: 2022-07-11 20:16:20.993 +00:00 [INF] (ES.Kubernetes.Reflector.Core.SecretMirror) Auto-reflected xxx where permitted. Created 0 - Updated 0 - Deleted 2 - Validated 3.

The source secret has the following annotations:

        reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
        reflector.v1.k8s.emberstack.com/reflection-auto-enabled: "true"
        reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: some-namespaces

The secret is auto-reflected perfectly, the deletion behavior only affects manual mirrors. What am I doing wrong?

Thanks

mateuszdrab avatar Jul 11 '22 21:07 mateuszdrab

Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 09:08 stale[bot]

Removed stale label.

stale[bot] avatar Nov 16 '22 11:11 stale[bot]

Removed stale label.

stale[bot] avatar Nov 16 '22 11:11 stale[bot]

Please try the new version. This issue should be fixed. Please reopen if this is still a problem (some scenarios are extremely hard to reproduce and help is required to validate the fix).

winromulus avatar Mar 05 '23 01:03 winromulus