Merge pull request #66993 from luxas/cleanup_componentconfig_types
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
Refactor the kube-controller-manager ComponentConfig structs
**What this PR does / why we need it**:
This PR cleans up the kube-controller-manager structs in the componentconfig package and fixes various structural issues in the current code, in order to make it possible to later move the code out to external API groups (as a starting point `GenericControllerManagerConfiguration` to `k8s.io/controller-manager`).
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
ref: https://github.com/kubernetes/community/pull/2354
This PR depends on:
- [x] https://github.com/kubernetes/kubernetes/pull/67149
- [x] https://github.com/kubernetes/kubernetes/pull/67090
- [x] https://github.com/kubernetes/kubernetes/pull/67159
- [x] https://github.com/kubernetes/kubernetes/pull/67207
- [x] https://github.com/kubernetes/kubernetes/pull/66722
**Special notes for your reviewer**:
Please only review the following commits:
- **Refactor the k-c-m ComponentConfig structs to they can be moved out**
- **Fixup cmd/kube-controller-manager code after struct changes.**
**Release note**:
```release-note
NONE
```
/assign @sttts @stewart-yu @liggitt @thockin
Showing
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment