ClusterClass: controlplane MHC setting bad selector labels #11549
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
Indicates an issue lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What steps did you take and what happened?
Specifying a machineHealthCheck in
spec.controlPlane
sets the following selector labels up on the MHC resource:While the control plane machines are getting the following labels set:
Example mhc configuration
What did you expect to happen?
The MHC resource
spec.selector.matchLabels
should be such that they match labels applied to the control planeMachine
.Cluster API version
v1.8.4
Kubernetes version
v1.27.14
Anything else you would like to add?
CAPI is running on a Rancher cluster, v2.7.9
Label(s) to be applied
/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.
The text was updated successfully, but these errors were encountered: