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.
2 parents 3aca5b3 + d08f6a8 commit 9c4c02eCopy full SHA for 9c4c02e
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