package scdeny
import "k8s.io/kubernetes/plugin/pkg/admission/securitycontext/scdeny"
Index ¶
Functions ¶
func Register ¶
Register registers a plugin
Types ¶
type Plugin ¶
Plugin implements admission.Interface.
func NewSecurityContextDeny ¶
func NewSecurityContextDeny() *Plugin
NewSecurityContextDeny creates a new instance of the SecurityContextDeny admission controller
func (*Plugin) Validate ¶
func (p *Plugin) Validate(a admission.Attributes) (err error)
Validate will deny any pod that defines SELinuxOptions or RunAsUser.
Source Files ¶
admission.go
- Version
- v1.9.8-beta.0
- Published
- Apr 18, 2018
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 31 seconds ago –
Tools for package owners.