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 527636f commit 2fa91f1Copy full SHA for 2fa91f1
pkg/platform/provider/baremetal/cluster/create.go
@@ -709,8 +709,9 @@ func (p *Provider) EnsureMarkControlPlane(c *Cluster) error {
709
for _, machine := range c.Spec.Machines {
710
if machine.Labels == nil {
711
machine.Labels = make(map[string]string)
712
- machine.Labels[constants.LabelNodeRoleMaster] = ""
713
}
+ machine.Labels[constants.LabelNodeRoleMaster] = ""
714
+
715
if !c.Spec.Features.EnableMasterSchedule {
716
taint := corev1.Taint{
717
Key: constants.LabelNodeRoleMaster,
0 commit comments