rbacmanagement

package
v1.45.0-0.dev Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package rbacmanagement reads the admin-owned gate that switches the RBAC management UI on for a cluster.

Index

Constants

View Source
const (
	// ConfigMapName is the admin-owned switch for the RBAC management UI, read by the
	// operator, ui-apis and rbacsync. Keep in sync with ui-apis rbacmanagement/gate.
	ConfigMapName = "rbac-ui-config"
	ConfigMapKey  = "rbac-ui-enabled"

	// LDAPConfigSecretName is the RBAC-UI LDAP directory-sync config Secret
	// (calico-system) the rbacsync process reads to perform the sync.
	// Keep in sync with ui-apis rbacmanagement/idp LDAPConfigSecretName.
	LDAPConfigSecretName = "tigera-idp-ldap-config"

	// GroupsConfigMapName is the ConfigMap (calico-system) holding the IdP group
	// mappings. The manager writes it through ui-apis; rbacsync reads it.
	GroupsConfigMapName = "tigera-idp-groups"
)

Variables

This section is empty.

Functions

func Enabled

func Enabled(cm *corev1.ConfigMap) bool

Enabled reports whether the RBAC management UI is switched on for this cluster. A missing ConfigMap, missing key or unparsable value reads as disabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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