kubernetesk8s.io/kubernetes/cmd/kubeadm/app/phases/apiconfig Index | Files

package apiconfig

import "k8s.io/kubernetes/cmd/kubeadm/app/phases/apiconfig"

Index

Functions

func CreateBootstrapRBACClusterRole

func CreateBootstrapRBACClusterRole(clientset *clientset.Clientset) error

CreateBootstrapRBACClusterRole grants the system:node-bootstrapper role to the group we created the bootstrap credential with

func CreateKubeDNSRBACClusterRole

func CreateKubeDNSRBACClusterRole(clientset *clientset.Clientset) error

CreateKubeDNSRBACClusterRole creates the necessary ClusterRole for kube-dns

func CreateKubeProxyClusterRoleBinding

func CreateKubeProxyClusterRoleBinding(clientset *clientset.Clientset) error

CreateKubeProxyClusterRoleBinding grants the system:node-proxier role to the nodes group, since kubelet credentials are used to run the kube-proxy TODO: give the kube-proxy its own credential and stop requiring this

Source Files

clusterroles.go

Version
v1.6.0-alpha.1
Published
Jan 30, 2017
Platform
linux/amd64
Imports
5 packages
Last checked
23 minutes ago

Tools for package owners.