Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Fix updating ClusterRoleBinding on NIC deletion #91

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

pleshakov
Copy link
Contributor

Proposed changes

  • Fix the construction of the updated list of subjects for
    the ClusterRoleBinding. Previously, the subjects that matched
    the NginxIngressController resource name or namespace were wrongly
    removed.
  • Stop reconciliation after removing the finalizer. Previously, the
    reconciliation would proceed and it would wrongly restore the
    subject for the NginxIngressController resource that was deleted.

Fixes #89

@pleshakov pleshakov added the bug An issue reporting a potential bug label Apr 1, 2021
* Fix the construction of the updated list of subjects for
the ClusterRoleBinding. Previously, the subjects that matched
the NginxIngressController resource name OR namespace were wrongly
removed.
* Stop reconciliation after removing the finalizer. Previously, the
reconciliation would proceed and it would wrongly restore the
subject for the NginxIngressController resource that was deleted.
@soneillf5 soneillf5 merged commit 4c96788 into master Apr 2, 2021
@lucacome lucacome deleted the fix-clusterrolebinding branch April 3, 2021 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug An issue reporting a potential bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operator incorrectly updates ClusterRoleBinding when deleting Ingress Controller
4 participants