kubernetes/cmd/kubeadm/app
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
..
apis/kubeadm Merge pull request #64066 from luxas/kubeadm_etcd_refactor 2018-05-24 10:45:21 -07:00
cmd Merge pull request #64066 from luxas/kubeadm_etcd_refactor 2018-05-24 10:45:21 -07:00
constants kubeadm: Write kubelet config file to disk and persist in-cluster. Also write runtime environment file and fixup the kubelet phases command 2018-05-22 09:12:25 +03:00
discovery Merge pull request #60852 from karan/kubeadm-cluster-name 2018-04-12 15:40:10 -07:00
features remove v190 from kubeadm in v1.11 cycle 2018-05-17 20:32:24 +08:00
images kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
phases kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
preflight kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
util Merge pull request #64066 from luxas/kubeadm_etcd_refactor 2018-05-24 10:45:21 -07:00
BUILD autogenerated bazel 2018-05-14 18:12:31 +01:00
kubeadm.go Stop installing kubeadm types in the generic, legacy scheme 2018-05-14 18:11:30 +01:00