package apiconfig
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/apiconfig"
Index ¶
- Constants
- func CreateClusterRoleBindings(clientset *clientset.Clientset) error
- func CreateRBACRules(clientset *clientset.Clientset) error
- func CreateRoleBindings(clientset *clientset.Clientset) error
- func CreateRoles(clientset *clientset.Clientset) error
- func CreateServiceAccounts(clientset *clientset.Clientset) error
- func UpdateMasterRoleLabelsAndTaints(client *clientset.Clientset) error
Constants ¶
const ( // 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" // BootstrapSignerClusterRoleName sets the name for the ClusterRole that allows access to ConfigMaps in the kube-public ns BootstrapSignerClusterRoleName = "system:bootstrap-signer-clusterinfo" )
Functions ¶
func CreateClusterRoleBindings ¶
CreateClusterRoleBindings creates all necessary bindings between bootstrapped & kubeadm-created ClusterRoles and subjects kubeadm is using
func CreateRBACRules ¶
CreateRBACRules creates the essential RBAC rules for a minimally set-up cluster
func CreateRoleBindings ¶
CreateRoleBindings creates all namespaced and necessary bindings between bootstrapped & kubeadm-created ClusterRoles and subjects kubeadm is using
func CreateRoles ¶
CreateRoles creates namespaces RBAC Roles
func CreateServiceAccounts ¶
CreateServiceAccounts creates the necessary serviceaccounts that kubeadm uses/might use.
func UpdateMasterRoleLabelsAndTaints ¶
UpdateMasterRoleLabelsAndTaints taints the master and sets the master label
Source Files ¶
clusterroles.go setupmaster.go
- Version
- v1.6.14-beta.0
- Published
- Nov 22, 2017
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 55 seconds ago –
Tools for package owners.