-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
Description
Expected Behavior
Externally added finalizers should be retained across reconciliations by the tigera-controller.
Current Behavior
Currently, if another controller adds a finalizer to an Operator-created resource, it will get removed on re-reconcile.
This commit beeba82cb fixed this for Kibana resources.
beeba82cb#diff-8a70460893d606f15b2f0b6b4292348d55975719fa6d0a50b32a8e4c148ddf6eR218
We are seeing the same problem, update-battles for some resources that Rancher is adding finalizers to (specifically at least ClusterRoleBindings).
Possible Solution
Retain the existing finalizers on the resource (by merging with the existing finalizers).
Steps to Reproduce (for bugs)
- Add a finalizer to an operator-created resource e.g. the
calico-nodeClusterRoleBinding - The added finalizer will be removed and the
tigera.io/cni-protectorwill be the only finalizer,
Context
We are seeing elevated levels of updates being applied to CRBs that are watched by Rancher.
Your Environment
- Operating System and version:
- Link to your project (optional):