Commit 5e477f1
committed
ctrl: nro: reconcile on node group with poolName
Node group can be set with either MCPselector or a poolName. Validation
of the nodegroup configuraion is checked in the reconcile logic, and
because poolName is set and MCPSelector is not a valid nodeGroup we need
to consider this and reconcile.
This was missed when nodeGroup.PoolName was first introduced and didn't
cause any observed reconcile failures because:
1. any change on the nodeGroups would anyway trigger reconciliation
2. so far the MCP related updates were caused by Kubeletconfig updates
which wasn't blocked until the paused-MCP case got handled (which is
why this appeared now).
Signed-off-by: Shereen Haj <shajmakh@redhat.com>1 parent 8d9ea8b commit 5e477f1
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
666 | 678 | | |
667 | 679 | | |
668 | 680 | | |
| |||
679 | 691 | | |
680 | 692 | | |
681 | 693 | | |
| 694 | + | |
682 | 695 | | |
683 | 696 | | |
684 | 697 | | |
685 | 698 | | |
686 | 699 | | |
| 700 | + | |
687 | 701 | | |
688 | 702 | | |
689 | 703 | | |
| |||
0 commit comments