kubernetes: k8s.io/kubernetes/plugin/pkg/admission/securitycontext/scdeny Index | Files

package scdeny

import "k8s.io/kubernetes/plugin/pkg/admission/securitycontext/scdeny"

Index

Package Files

admission.go

Constants

const PluginName = "SecurityContextDeny"

PluginName indicates name of admission plugin.

func Register Uses

func Register(plugins *admission.Plugins)

Register registers a plugin

type Plugin Uses

type Plugin struct {
    *admission.Handler
}

Plugin implements admission.Interface.

func NewSecurityContextDeny Uses

func NewSecurityContextDeny() *Plugin

NewSecurityContextDeny creates a new instance of the SecurityContextDeny admission controller

func (*Plugin) Validate Uses

func (p *Plugin) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error)

Validate will deny any pod that defines SupplementalGroups, SELinuxOptions, RunAsUser or FSGroup

Package scdeny imports 6 packages (graph) and is imported by 52 packages. Updated 2019-08-27. Refresh now. Tools for package owners.