k3s/cmd/kube-controller-manager/app
Kubernetes Submit Queue 0f3de97db9
Merge pull request #60270 from stewart-yu/splitFlag
Automatic merge from submit-queue (batch tested with PRs 61306, 60270, 62496, 62181, 62234). 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>.

split up the huge set of flags into smaller option structs

**What this PR does / why we need it**:
To make generic, we do following work:

1.  Spliting `KubeControllerManagerConfiguration` in kube-controller-manager and cloud-controller-manager into fewer smaller struct options order by controller, and modify relative flag. Also part of #59483.
2. Spliting `componentconfig` in controller-manager into fewer smaller config order by controller too.

All works follow #59582, using `option+config` logic.

**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 #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-04-13 15:03:07 -07:00
..
config Update generated files 2018-02-13 11:16:48 +01:00
options auto generated file 2018-04-13 08:57:40 +08:00
BUILD Add external metrics client to HPA rest client 2018-02-27 14:10:29 +01:00
apps.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
autoscaling.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
batch.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
bootstrap.go use shared informers for TokenCleaner controller 2018-01-15 14:56:42 +08:00
certificates.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
cloudproviders.go Extract instantiation of cloud provider 2018-02-08 08:15:41 -05:00
controller_manager_test.go Using assertions 2017-10-10 22:44:12 -05:00
controllermanager.go Merge pull request #60270 from stewart-yu/splitFlag 2018-04-13 15:03:07 -07:00
core.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
extensions.go split up the component config into smaller config 2018-04-13 08:40:54 +08:00
import_known_versions.go Add new Events API group 2017-11-22 18:40:09 +00:00
plugins.go nit: remove CSI plugin from ProbeExpandableVolumePlugins 2018-02-10 21:18:23 +08:00
policy.go Log more verbose when DisruptionController doesn't start. 2017-05-18 13:19:06 -07:00
rbac.go add clusterrole aggregation controller 2017-11-13 08:18:00 -05:00