kubernetes/cmd/kubeadm/app/util
Kubernetes Submit Queue 5540edc1f9
Merge pull request #67944 from fabriziopandini/kubeadm-config-configMap
Automatic merge from submit-queue (batch tested with PRs 63011, 68089, 67944, 68132). 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.

Kubeadm upload and fetch of kubeam config v1alpha3

**What this PR does / why we need it**:
This PR implements upload and fetch of kubeam config v1alpha3 from cluster.

More in detail:
In upload, `kubeadm-config` gets
- `ClusterConfiguration` (without components config which are already stored in separated ConfigMaps)
- `ClusterStatus`(initialised or updated with the API endpoint of the current node)

During fetch `InitConfiguration` is composed with:
- `ClusterConfiguration` from `kubeadm-config`
- The `APIEndpoint` of the current node from `ClusterStatus` in `kubeadm-config`
- Component configs from corresponding ConfigMaps

**Which issue(s) this PR fixes** :
refs https://github.com/kubernetes/kubeadm/issues/911, refs https://github.com/kubernetes/kubeadm/issues/963

**Special notes for your reviewer**:
In order to implement this it was necessary to extend current component config management with a new GetFromConfigMap operation. This is implemented in a separated commit "
implement component configs GetFromConfigMap".
The real change build on this (commi "upload and fetch kubeadm v1alpha3")

**Release note**:
```release-note
NONE
```

/cc @kubernetes/sig-cluster-lifecycle-pr-reviews
/sig cluster-lifecycle
/area kubeadm
/kind enhancement
/assign @luxas
/assign @timothysc
/cc @chuckha @rosti @neolit123 @liztio
2018-09-04 10:24:43 -07:00
..
apiclient Merge pull request #64520 from wgliang/master.cmd-unused 2018-08-22 12:49:45 -07:00
audit use v1 version of advanced audit policy in kubeadm 2018-08-09 19:38:05 +08:00
config Merge pull request #67944 from fabriziopandini/kubeadm-config-configMap 2018-09-04 10:24:43 -07:00
dryrun Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
etcd Automated rename from MasterConfiguration to InitConfiguration 2018-07-09 04:55:02 +03:00
kubeconfig kubeadm join the cluster with pre-existing client certificate 2018-07-26 19:34:09 +08:00
pubkeypin Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
runtime kubeadm: fix CRI ListKubeContainers API 2018-08-07 10:59:44 +03:00
staticpod kubeadm config add support for more than one APIEndpoint 2018-08-27 09:00:26 +02:00
system Fix kubeadm init kernel validator display message error 2018-08-15 12:13:27 +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 kubeadm: update auto-generated BUILD files 2018-08-27 23:04:55 +03:00
cgroupdriver_test.go kubeadm: conditionally set the kubelet cgroup driver for Docker 2018-05-30 20:29:21 +03:00
cgroupdriver.go kubeadm: conditionally set the kubelet cgroup driver for Docker 2018-05-30 20:29:21 +03:00
chroot_test.go kubeadm: chroot to new --rootfs arg 2018-08-08 18:10:39 +10:00
chroot_unix.go kubeadm: chroot to new --rootfs arg 2018-08-08 18:10:39 +10:00
chroot_windows.go kubeadm: chroot to new --rootfs arg 2018-08-08 18:10:39 +10:00
copy.go Adding etcd upgrade to kubeadm upgrade apply 2017-11-18 18:47:50 -05:00
endpoint_test.go kubeadm config add support for more than one APIEndpoint 2018-08-27 09:00:26 +02:00
endpoint.go upload and fetch of kubeam config v1alpha3 from cluster 2018-09-04 09:09:55 +02:00
error_test.go remove unused code in kubeadm error.go 2018-05-31 13:43:04 +08:00
error.go remove unused code in kubeadm error.go 2018-05-31 13:43:04 +08:00
marshal_test.go kubeadm: Split out ClusterConfiguration from InitConfiguration 2018-08-22 11:43:02 +03:00
marshal.go kubeadm: Split out ClusterConfiguration from InitConfiguration 2018-08-22 11:43:02 +03:00
template_test.go use pause image with fat-manifest 2018-07-11 11:00:44 +08:00
template.go kubeadm golint clean up 2017-09-23 08:07:55 -04:00
version_test.go kubeadm: fix the air-gapped and offline support issues 2018-08-27 23:03:31 +03:00
version.go kubeadm: fix the air-gapped and offline support issues 2018-08-27 23:03:31 +03:00