kubernetes/cmd/kubeadm/app/phases/controlplane
Kubernetes Submit Queue 2164f09bf9 Merge pull request #50832 from nckturner/external-ca
Automatic merge from submit-queue (batch tested with PRs 50832, 51119, 51636, 48921, 51712)

kubeadm: Add support for using an external CA whose key is never stored in the cluster

We allow a kubeadm user to use an external CA by checking to see if ca.key is missing and skipping cert checks and kubeconfig generation if ca.key is missing.  We also pass an empty arg --cluster-signing-key-file="" to kube controller manager so that the csr signer doesn't start. 



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

This PR allows the kubeadm certs phase and kubeconfig phase to be skipped if the ca.key is missing but all other certs are present.  

**Which issue this PR fixes** : 

Fixes kubernetes/kubeadm/issues/280

**Special notes for your reviewer**:

@luxas @mikedanese @fabriziopandini 

**Release note**:

```release-note
kubeadm: Add support for using an external CA whose key is never stored in the cluster
```
2017-09-02 19:26:20 -07:00
..
BUILD Adds check for external CA 2017-08-31 17:12:24 +00:00
manifests_test.go Merge pull request #50832 from nckturner/external-ca 2017-09-02 19:26:20 -07:00
manifests.go Merge pull request #50832 from nckturner/external-ca 2017-09-02 19:26:20 -07:00
volumes_test.go Add host mountpath for controller-manager for flexvolume dir 2017-08-25 13:23:53 -07:00
volumes.go Add host mountpath for controller-manager for flexvolume dir 2017-08-25 13:23:53 -07:00