k3s/cmd/kubeadm/app
Kubernetes Submit Queue 81fa823a6c
Merge pull request #54133 from shun-miyoshi-com/add_output_option
Automatic merge from submit-queue (batch tested with PRs 55594, 47849, 54692, 55478, 54133). 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>.

add kubeadm alpha phase kubeconfig option(--output)

**What this PR does / why we need it**:
This PR will add --output option to `kubeadm alpha phase kubeconfig [command]`
This option can change output directory of kubeconfig.

Prev: kubeadm alpha phase kubeconfig admin
  we can get admin.conf in /etc/kubernetes/ .

This PR: kubeadm alpha phase kubeconfig admin --output /root
  we can get admin.conf in /root/ .

Of course, --output is optional.(default directory is /etc/kubernetes)

Note)
  I have no confidence about my test code.

Thank you.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-11-13 06:09:30 -08:00
..
apis/kubeadm Update generated code 2017-11-10 18:26:46 +01:00
cmd Merge pull request #54133 from shun-miyoshi-com/add_output_option 2017-11-13 06:09:30 -08:00
constants Use const instead of hard-code for kubeadm usages 2017-11-09 16:03:47 +08:00
discovery Merge pull request #47699 from supereagle/fix-typos 2017-10-17 02:35:52 -07:00
features adding coredns as a featuregate 2017-11-07 12:32:42 -05:00
images update BUILD files 2017-10-15 18:18:13 -07:00
phases Merge pull request #55438 from fabriziopandini/kubeadm-ha-endpoint-reconciler 2017-11-12 09:49:37 -08:00
preflight Merge pull request #55055 from runcom/check-with-crictl 2017-11-09 07:38:45 -08:00
util Adds Support for Configurable Kubeadm Probes. 2017-11-03 10:42:29 -07:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
kubeadm.go kubeadm golint clean up 2017-09-23 08:07:55 -04:00