kubernetes/cmd/kubeadm/app/util
Kubernetes Submit Queue b712eaf22d
Merge pull request #64066 from luxas/kubeadm_etcd_refactor
Automatic merge from submit-queue (batch tested with PRs 64127, 63895, 64066, 64215, 64202). 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>.

kubeadm: Refactor the .Etcd substruct in the v1alpha2 API

**What this PR does / why we need it**:
Splits the monolithic `.Etcd` struct with all the options as fields to a more modular and clear design with two sub-structs for the different modes of hosting etcd we support.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Part of kubernetes/community#2131

**Special notes for your reviewer**:
Depends on:
 - [x] https://github.com/kubernetes/kubernetes/pull/63917

Follows up: https://github.com/kubernetes/kubernetes/pull/63871
TODO: I still need to write unit tests for this.

**Release note**:

```release-note
[action required] kubeadm: The `:Etcd` struct has been refactored in the v1alpha2 API. All the options now reside under either `.Etcd.Local` or `.Etcd.External`. Automatic conversions from the v1alpha1 API are supported.
```
@kubernetes/sig-cluster-lifecycle-pr-reviews @liztio
2018-05-24 10:45:21 -07:00
..
apiclient Merge pull request #63400 from rajansandeep/corednsupgrade 2018-05-14 14:35:17 -07:00
audit Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
config Merge pull request #64066 from luxas/kubeadm_etcd_refactor 2018-05-24 10:45:21 -07:00
dryrun Merge pull request #62655 from stealthybox/TLSUpgrade_+_detiber-kubeadm_hash 2018-04-24 13:28:13 -07:00
etcd kubeadm - fix upgrades with static pod etcd 2018-05-17 11:53:31 -04:00
kubeconfig Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
pubkeypin Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
staticpod kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
token Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
arguments_test.go Sort arguments before joining them, for reproducible return string 2018-05-14 20:24:39 +02:00
arguments.go Sort arguments before joining them, for reproducible return string 2018-05-14 20:24:39 +02:00
BUILD autogenerated bazel 2018-05-15 16:36:46 +01:00
copy.go Adding etcd upgrade to kubeadm upgrade apply 2017-11-18 18:47:50 -05:00
endpoint_test.go make API.ControlPlaneEndpoint accept IP 2018-04-23 00:16:13 +02:00
endpoint.go make API.ControlPlaneEndpoint accept IP 2018-04-23 00:16:13 +02:00
error_test.go kubeadm: Fix a couple of upgrade/downgrade-related bugs 2017-12-02 00:27:07 +02:00
error.go kubeadm: Fix a couple of upgrade/downgrade-related bugs 2017-12-02 00:27:07 +02:00
marshal_test.go Tests for kubeadm marshal utilities 2018-05-11 17:50:41 -04:00
marshal.go kubeadm: Handle config loading only in one place, and only use the internal version of the API internally. Fix bugs 2018-05-15 15:44:27 +01:00
template_test.go Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
template.go kubeadm golint clean up 2017-09-23 08:07:55 -04:00
version_test.go Improve where we load builds from for kubeadm upgrade jobs 2018-05-09 12:11:41 -04:00
version.go Improve where we load builds from for kubeadm upgrade jobs 2018-05-09 12:11:41 -04:00