k3s/cmd/kubeadm/app
Kubernetes Submit Queue 582187b6fb Merge pull request #40758 from luxas/kubeadm_cleanup_rbac
Automatic merge from submit-queue

kubeadm: Move some code from apiclient.go to the dedicated apiconfig phase

**What this PR does / why we need it**:

Add constants and somewhat refactor the RBAC code as well + some cleanup.
I'm planning to rewrite the code in `setupmaster.go` later, but this PR has only the move of the code for easier reviewing.

**Special notes for your reviewer**:

This is broken out from: https://github.com/kubernetes/kubernetes/pull/40556

**Release note**:

```release-note
NONE
```

@mikedanese @pires @dmmcquay @dgoodwin
2017-02-01 13:20:37 -08:00
..
apis/kubeadm Default to control plane v1.6.0-alpha.1 for clusters deployed with kubeadm and using RBAC. Also use constants for authz modes 2017-01-31 09:24:15 +02:00
cmd Move some code from apiclient.go to the dedicated apiconfig phase package. Add constants and somewhat refactor the RBAC code as well 2017-02-01 19:06:51 +02:00
constants Move some code from apiclient.go to the dedicated apiconfig phase package. Add constants and somewhat refactor the RBAC code as well 2017-02-01 19:06:51 +02:00
discovery mechanical 2017-01-23 10:03:55 -05:00
images fix error message in TestGetAddonImage 2017-01-20 11:14:53 +08:00
master Merge pull request #40758 from luxas/kubeadm_cleanup_rbac 2017-02-01 13:20:37 -08:00
node Merge pull request #40628 from skriss/kubeadm_multi_endpoint_bugfix 2017-01-31 01:16:54 -08:00
phases Move some code from apiclient.go to the dedicated apiconfig phase package. Add constants and somewhat refactor the RBAC code as well 2017-02-01 19:06:51 +02:00
preflight Write ca.crt down to disk in kubeadm join 2017-01-23 13:15:19 +02:00
util Merge pull request #39302 from bruceauyeung/k8s-branch-fix-nil-check-and-typos 2017-01-27 18:32:23 -08:00
BUILD Generate two certs and two private keys; only the necessary ones; make the certs and kubeconfig phases work with valid files already on-disk and some cleanup 2017-01-21 00:33:06 +02:00
kubeadm.go Refactor the whole binary, a lot of changes in one commit I know, but I just hacked on this and modified everything I thought was messy or could be done better. 2016-12-09 12:48:12 +02:00