Generate a kubelet CA and kube-apiserver cert-pair for kubelet auth.

Plumb through to kubelet/kube-apiserver on gci & cvm.
This commit is contained in:
CJ Cullen
2016-11-18 15:07:59 -08:00
committed by Mike Danese
parent 8623fdf0b1
commit d0997a3d1f
14 changed files with 137 additions and 20 deletions

View File

@@ -32,8 +32,9 @@ import (
type KubeletClientConfig struct {
// Default port - used if no information about Kubelet port can be found in Node.NodeStatus.DaemonEndpoints.
Port uint
EnableHttps bool
Port uint
ReadOnlyPort uint
EnableHttps bool
// PreferredAddressTypes - used to select an address from Node.NodeStatus.Addresses
PreferredAddressTypes []string