Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivilegedUserSkipper ¶
type PrivilegedUserSkipper struct { Client client.Reader PrivilegedGroups []string PrivilegedUsers []string // PrivilegedClusterRoles is a list cluster roles allowed to bypass restrictions. // Wildcards are supported (e.g. "system:serviceaccount:default:*" or "cluster-*-operator"). // ClusterRoles are only ever matched if they are bound through a ClusterRoleBinding, // this is different from the behavior of Kyverno. // This is done to prevent a user from wrongly configuring a low-privileged ClusterRole which users // can then bind to themselves to bypass the restrictions. PrivilegedClusterRoles []string }
PrivilegedUserSkipper skips request validations for privileged users.
type Skipper ¶
func NewMultiSkipper ¶ added in v0.10.0
NewMultiSkipper returns a Skipper that skips if any of the given Skipper skip.
Click to show internal directories.
Click to hide internal directories.