Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-2688

Pruner deletes RoleBindings and NetworkPolicies from member namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • maistra-2.1.0
    • maistra-2.1.0
    • operator
    • None
    • Sprint 10, Sprint 11

      In MAISTRA-1621 we changed the pruner so it also prunes in member namespaces instead of just the mesh namespace and the cluster scope. Because RoleBindings are copied from the mesh namespace to the member namespaces (which includes their labels), they are now pruned by the pruner. So, with every change of the SMCP, the pruner now deletes the RoleBindings, but the SMM controller quickly recreates them, so we never noticed the deletion.

      The pruner should never delete these RoleBindings, as they are managed by the SMM controller.

      The same thing happens with NetworkPolicies.

              mluksa@redhat.com Marko Luksa
              mluksa@redhat.com Marko Luksa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: