We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7527262 commit d08f6a8Copy full SHA for d08f6a8
internal/controllers/machine/machine_controller.go
@@ -91,7 +91,11 @@ type Reconciler struct {
91
// nodeDeletionRetryTimeout determines how long the controller will retry deleting a node
92
// during a single reconciliation.
93
nodeDeletionRetryTimeout time.Duration
94
- disableNodeLabelSync bool
+
95
+ // disableNodeLabelSync should only be used for tests. This is used to skip the parts of
96
+ // the controller that need SSA as the current test setup does not support SSA.
97
+ // This flag should be dropped after the tests are migrated to envtest.
98
+ disableNodeLabelSync bool
99
}
100
101
func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error {
0 commit comments