mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix StatefulSet set-based selector bug **What this PR does / why we need it**: ControllerRevisions were using selectors as the labels, in case of set-based selectors, the helper function to convert selectors to labels would break. This PR uses pod labels for ControllerRevision labels instead of selectors. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #59266 **Special notes for your reviewer**: I'm trying to learn Kubernetes codebase and would be happy to make changes if anything is off. **Release note**: ```release-note Fix StatefulSet to work with set-based selectors. ``` |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
stateful_pod_control.go | ||
stateful_pod_control_test.go | ||
stateful_set.go | ||
stateful_set_control.go | ||
stateful_set_control_test.go | ||
stateful_set_status_updater.go | ||
stateful_set_status_updater_test.go | ||
stateful_set_test.go | ||
stateful_set_utils.go | ||
stateful_set_utils_test.go |