Help us shape the future of Go! Take the 2026 Go Developer Survey

securitycontextconstraints

package
v1.34.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostAccess    = "hostaccess"
	HostNetworkV2 = "hostnetwork-v2"
	NonRootV2     = "nonroot-v2"
	Privileged    = "privileged"
)

Default OpenShift security context constraints (SCCs) defined in https://docs.openshift.com/container-platform/4.14/authentication/managing-security-context-constraints.html#default-sccs_configuring-internal-oauth

Variables

This section is empty.

Functions

func NewNonRootSecurityContextConstraints

func NewNonRootSecurityContextConstraints(name string, users []string) *ocsv1.SecurityContextConstraints

NewNonRootSecurityContextConstraints is translated from the default security context constraints nonroot-v2.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL