remove instance-selector label

This commit is contained in:
Bharath Vedartham 2021-03-16 23:59:56 +05:30 committed by Ciprian Hacman
parent 2c63dc108b
commit 0bec221cc7
1 changed files with 0 additions and 6 deletions

View File

@ -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
}