vault-secrets-operator icon indicating copy to clipboard operation
vault-secrets-operator copied to clipboard

Add ability to ignore certain labels/annotations (or only check relevant ones)

Open com6056 opened this issue 1 year ago • 0 comments

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:

  1. Change any annotation on a VaultDynamicSecret
  2. See a rollout restart trigger

com6056 avatar Jul 01 '24 17:07 com6056