Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not skip "master" nodes for non-gw nodes search
The "FindNonGatewayNodes" function search for the nodes of the cluster that do not hold the gateway label. - Filter the nodes by missing the gateway label instead of comparing it to "false" - A change between k8s version 1.23 and 1.25 is the removal of "master" label from the control-plane nodes. In order to not rely on this label, which existance changes between the versions, do not filter the nodes by it. Signed-off-by: Maxim Babushkin <[email protected]>
- Loading branch information