Refine controller template and probe listeners
This commit is contained in:
@@ -61,7 +61,7 @@ func ApplyLocalNodeMetadataIfPossible(ctx context.Context, nctx *NodeContext) er
|
||||
|
||||
// Additional Labels
|
||||
if spec.EnableNodeControl {
|
||||
node.Labels[monov1alpah1.NodeControlKey] = controlAgentNodeSelectorValue
|
||||
node.Labels[monov1alpah1.NodeControlKey] = "true"
|
||||
}
|
||||
|
||||
_, err = client.CoreV1().Nodes().Update(ctx, node, metav1.UpdateOptions{})
|
||||
|
||||
Reference in New Issue
Block a user