kubernetes/cmd/kubeadm/app/cmd
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
..
phases autogenerated 2018-05-22 09:31:28 +03:00
upgrade kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
util Merge pull request #60022 from fabriziopandini/kubeadm567 2018-02-21 18:09:40 -08:00
BUILD Merge pull request #63973 from rosti/remove-internalclientset 2018-05-18 15:59:22 -07:00
cmd.go Stop installing kubeadm types in the generic, legacy scheme 2018-05-14 18:11:30 +01:00
completion.go kubeadm: add GetSupportedShells() to completion.go 2018-05-09 22:35:12 +03:00
completion_test.go kubeadm: add test coverage to completion.go 2018-05-09 23:15:45 +03:00
config.go add missing flag for kubeadm config images pull command 2018-05-23 16:12:37 +08:00
config_test.go kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
init.go kubeadm: Refactor the .Etcd substruct in the v1alpha2 API 2018-05-23 21:13:32 +03:00
join.go 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
join_test.go Move all logic for NodeConfiguration unmarshal to the dedicated package 2018-05-17 16:19:07 +01:00
reset.go kubeadm: crictl reset commands fixes 2018-05-18 15:06:35 +02:00
reset_test.go kubeadm: Remove the .CloudProvider configuration option 2018-05-16 15:46:34 +01:00
token.go autogenerated move to reference the v1alpha2 API inside of kubeadm 2018-05-16 09:59:41 +01:00
token_test.go Merge pull request #63920 from dixudx/kubeadm-support-version 2018-05-18 01:07:12 -07:00
version.go kubeadm: Avoid unneeded dependencies by not using GetFlagString 2018-05-17 16:57:23 +03:00
version_test.go kubeadm: add better test coverage to version.go 2018-03-02 22:34:21 +02:00