vault-secrets-operator
vault-secrets-operator copied to clipboard
Add ability to ignore certain labels/annotations (or only check relevant ones)
Describe the bug A clear and concise description of what the bug is.
As of https://github.com/hashicorp/vault-secrets-operator/pull/576, it seems like any label/annotation change is causing our dynamic secrets to roll and trigger a rollout restart for the affected rollable objects. We should either add an exclude list of labels/annotations that won't trigger a reconcile, or we should only be checking relevant labels/annotations in labelChangedPredicate and annotationChangedPredicate.
To Reproduce Steps to reproduce the behavior:
- Change any annotation on a
VaultDynamicSecret - See a rollout restart trigger