roles

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAuthzClusterRolePath = "templates/user-authz-cluster-roles.yaml"
	RootRBACForUsPath        = "templates/rbac-for-us.yaml"
	RootRBACToUsPath         = "templates/rbac-to-us.yaml"
	RBACv2Path               = "templates/rbac"
)
View Source
const (
	ID = "rbac"
)

Variables

Functions

func ObjectBindingSubjectServiceAccountCheck

func ObjectBindingSubjectServiceAccountCheck(
	m *module.Module,
	object storage.StoreObject,
	objectStore *storage.UnstructuredObjectStore,
) *errors.LintRuleError

func ObjectRBACPlacement

func ObjectRBACPlacement(m *module.Module, object storage.StoreObject) *errors.LintRuleError

func ObjectRolesWildcard

func ObjectRolesWildcard(object storage.StoreObject) *errors.LintRuleError

ObjectRolesWildcard is a linter for checking the presence of a wildcard in a Role and ClusterRole

func ObjectUserAuthzClusterRolePath

func ObjectUserAuthzClusterRolePath(m *module.Module, object storage.StoreObject) *errors.LintRuleError

ObjectUserAuthzClusterRolePath validates that files for user-authz contains only cluster roles. Also, it validates that role names equals to d8:user-authz:<ChartName>:<AccessLevel>

Types

This section is empty.

Jump to

Keyboard shortcuts

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