Documentation ¶
Index ¶
Constants ¶
View Source
const (
SaPrefix = "system:serviceaccount:"
)
Variables ¶
This section is empty.
Functions ¶
func GetRoleRef ¶
func GetRoleRef(rbLister rbaclister.RoleBindingLister, crbLister rbaclister.ClusterRoleBindingLister, request *v1beta1.AdmissionRequest) (roles []string, clusterRoles []string, err error)
GetRoleRef gets the list of roles and cluster roles for the incoming api-request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.