k3s/test/integration
Kubernetes Submit Queue c3062bae21
Merge pull request #68233 from luxas/ccm_cleanup
Automatic merge from submit-queue (batch tested with PRs 68171, 67945, 68233). 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.

Move the CloudControllerManagerConfiguration to an API group in `cmd/`

**What this PR does / why we need it**:
This PR is the last piece of https://github.com/kubernetes/kubernetes/issues/67233.
It moves the `CloudControllerManagerConfiguration` to its own `cloudcontrollermanager.config.k8s.io` config API group, but unlike the other components this API group is "private" (only available in `k8s.io/kubernetes`, which limits consumer base), as it's located entirely in `cmd/` vs a staging repo.
This decision was made for now as we're not sure what the story for the ccm loading ComponentConfig files is, and probably a "real" file-loading ccm will never exist in core, only helper libraries. Eventually the ccm will only be a library in any case, and implementors will/can use the base types the ccm library API group provides. It's probably good to note that there is no practical implication of this change as the ccm **cannot** read ComponentConfig files. Hencec the code move isn't user-facing.

With this change, we're able to remove `pkg/apis/componentconfig`, as this was the last consumer. That is hence done in this PR as well (so the move is easily visible in git, vs first one "big add" then a "big remove"). The only piece of code that was used was the flag helper structs, so I moved them to `pkg/util/flag` that I think makes sense for now.

**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: kubernetes/community#2354

**Special notes for your reviewer**:

This PR builds on top of (first two commits, marked as `Co-authored by: @stewart-yu`) https://github.com/kubernetes/kubernetes/pull/67689

**Release note**:

```release-note
NONE
```
/assign @liggitt @sttts @thockin @stewart-yu
2018-09-05 21:36:41 -07:00
..
apimachinery Update Bazel 2018-08-15 13:34:31 +02:00
apiserver Move CloudControllerManagerConfiguration from pkg/apis/componentconfig to cmd/cloud-controller-manager/app/apis/config 2018-09-05 14:02:25 +03:00
auth svcacct: pass pod information in user.Info.Extra() when available 2018-08-31 11:54:50 -07:00
benchmark/jsonify Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client replace framework.RunAMaster with kubeapiservertesting.StartTestServer 2018-07-28 10:33:39 +08:00
configmap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
controllermanager controller-managers: generalize authn/z test to cloud-controller-manager 2018-08-31 20:52:22 +02:00
daemonset Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
defaulttolerationseconds Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
deployment Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
dryrun Add dry run test for hpa v2beta2 2018-08-27 11:37:22 -04:00
etcd Merge pull request #64097 from damemi/hpa-metrics-specificity 2018-08-27 13:48:13 -07:00
evictions Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
examples Add wait to discovery integration test to fix flakiness 2018-08-14 01:03:03 +10:00
framework Merge pull request #66963 from Lion-Wei/integration 2018-08-17 10:37:20 -07:00
garbagecollector dry-run: Update DynamicClient to pass Create/Update options 2018-08-02 10:38:31 -07:00
ipamperf Merge pull request #64559 from AdamDang/patch-10 2018-07-16 17:00:06 -07:00
master limit forbidden error to details of what was forbidden 2018-08-20 16:40:29 -04:00
metrics Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
objectmeta Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
openshift Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
pods Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
quota Update Bazel 2018-08-10 09:55:41 +02:00
replicaset remove the unused verifyRemainingObjects function 2018-07-16 15:15:56 +08:00
replicationcontroller remove the unused verifyRemainingObjects function 2018-07-16 15:15:56 +08:00
scale Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scheduler Merge pull request #67731 from gnufied/fix-csi-attach-limit 2018-09-05 14:51:55 -07:00
scheduler_perf Merge pull request #64936 from wgliang/master.scheduler_perf_test 2018-06-22 19:03:16 -07:00
secrets Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
serviceaccount Merge pull request #62420 from mikedanese/jose-bump 2018-08-23 15:39:59 -07:00
statefulset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
storageclasses Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
tls master count and lease endpoint tests 2018-04-27 13:03:31 -05:00
ttlcontroller Update ttlcontroller_test.go 2018-07-25 11:30:04 +08:00
util Autogenerated files 2018-08-17 11:18:52 -07:00
volume Automatically install CRDs during controller init 2018-08-31 12:25:59 -07:00
BUILD controller-managers: generalize authn/z test to cloud-controller-manager 2018-08-31 20:52:22 +02:00
benchmark-controller.json Use pause manifest image 2018-04-06 11:00:50 +05:30
doc.go don't use build tags to mark integration tests 2017-04-28 14:19:39 -07:00
utils.go aesgcm - passing 2018-01-31 10:50:11 -08:00