apiconfig

package
v1.7.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// KubeDNSClusterRoleName sets the name for the kube-dns ClusterRole
	KubeDNSClusterRoleName = "kubeadm:kube-dns"
	// KubeProxyClusterRoleName sets the name for the kube-proxy ClusterRole
	KubeProxyClusterRoleName = "system:node-proxier"
	// NodeBootstrapperClusterRoleName sets the name for the TLS Node Bootstrapper ClusterRole
	NodeBootstrapperClusterRoleName = "system:node-bootstrapper"
)

Variables

This section is empty.

Functions

func CreateClusterRoleBindings

func CreateClusterRoleBindings(clientset *clientset.Clientset) error

CreateClusterRoleBindings creates all necessary bindings between bootstrapped & kubeadm-created ClusterRoles and subjects kubeadm is using

func CreateClusterRoles

func CreateClusterRoles(clientset *clientset.Clientset) error

CreateClusterRoles creates the ClusterRoles that aren't bootstrapped by the apiserver

func CreateRBACRules

func CreateRBACRules(clientset *clientset.Clientset) error

CreateRBACRules creates the essential RBAC rules for a minimally set-up cluster

func CreateServiceAccounts

func CreateServiceAccounts(clientset *clientset.Clientset) error

CreateServiceAccounts creates the necessary serviceaccounts that kubeadm uses/might use.

func UpdateMasterRoleLabelsAndTaints

func UpdateMasterRoleLabelsAndTaints(client *clientset.Clientset) error

UpdateMasterRoleLabelsAndTaints taints the master and sets the master label

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL