mirror of https://github.com/kubernetes/kops.git
remove instance-selector label
This commit is contained in:
parent
2c63dc108b
commit
0bec221cc7
|
|
@ -500,12 +500,6 @@ func decorateWithMixedInstancesPolicy(instanceGroup *kops.InstanceGroup, usageCl
|
|||
return nil, fmt.Errorf("error node usage class not supported")
|
||||
}
|
||||
|
||||
generatedWithLabelKey := "kops.k8s.io/instance-selector"
|
||||
if ig.Spec.CloudLabels == nil {
|
||||
ig.Spec.CloudLabels = make(map[string]string)
|
||||
}
|
||||
ig.Spec.CloudLabels[generatedWithLabelKey] = "1"
|
||||
|
||||
return ig, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue