You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allErrs=append(allErrs, field.Invalid(idxPath.Child("key"), taint.Key, "taint key must not be node.cluster.x-k8s.io/uninitialized or node.cluster.x-k8s.io/outdated-revision"))
181
+
// Validate for key's which are reserved for usage by the node or node-lifecycle-controller, but allow `node.kubernetes.io/out-of-service`.
allErrs=append(allErrs, field.Invalid(idxPath.Child("key"), taint.Key, "taint key must not have the prefix node.kubernetes.io/, except for node.kubernetes.io/out-of-service"))
184
+
// Validate for keys which are reserved for usage by the cloud-controller-manager or kubelet.
allErrs=append(allErrs, field.Forbidden(specPath.Child("taints"), "taints are not allowed to be set when the feature gate MachineTaintPropagation is disabled"))
195
+
} else {
196
+
allErrs=append(allErrs, field.Forbidden(specPath.Child("taints"), "taints feature for MachinePools is not yet implemented"))
197
+
}
198
+
}
199
+
192
200
// Validate the metadata of the MachinePool template.
0 commit comments