roles

package
v1.59.8 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 9 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"
)

Variables

This section is empty.

Functions

func ObjectBindingSubjectServiceAccountCheck

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

func ObjectRBACPlacement

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

func ObjectUserAuthzClusterRolePath

func ObjectUserAuthzClusterRolePath(m utils.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