clusterinfo

package
v1.7.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BootstrapSignerClusterRoleName sets the name for the ClusterRole that allows access to ConfigMaps in the kube-public ns
	BootstrapSignerClusterRoleName = "karmada:bootstrap-signer-clusterinfo"
)

Variables

This section is empty.

Functions

func CreateBootstrapConfigMapIfNotExists

func CreateBootstrapConfigMapIfNotExists(clientSet *kubernetes.Clientset, file string) error

CreateBootstrapConfigMapIfNotExists creates the kube-public ConfigMap if it doesn't exist already

func CreateClusterInfoRBACRules

func CreateClusterInfoRBACRules(clientSet *kubernetes.Clientset) error

CreateClusterInfoRBACRules creates the RBAC rules for exposing the cluster-info ConfigMap in the kube-public namespace to unauthenticated users

Types

This section is empty.

Jump to

Keyboard shortcuts

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