Renamed ControlAgent to NodeControl
This commit is contained in:
@@ -60,8 +60,8 @@ func ApplyLocalNodeMetadataIfPossible(ctx context.Context, nctx *NodeContext) er
|
||||
}
|
||||
|
||||
// Additional Labels
|
||||
if spec.EnableControlAgent {
|
||||
node.Labels[monov1alpah1.ControlAgentKey] = controlAgentNodeSelectorValue
|
||||
if spec.EnableNodeControl {
|
||||
node.Labels[monov1alpah1.NodeControlKey] = controlAgentNodeSelectorValue
|
||||
}
|
||||
|
||||
_, err = client.CoreV1().Nodes().Update(ctx, node, metav1.UpdateOptions{})
|
||||
|
||||
Reference in New Issue
Block a user