securitycontext

package
v1.35.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNonRootContext added in v1.29.1

func NewNonRootContext() *corev1.SecurityContext

NewNonRootContext returns the non-root and non-privileged container security context that most of the containers should be using.

func NewNonRootPodContext added in v1.29.1

func NewNonRootPodContext() *corev1.PodSecurityContext

NewNonRootPodContext returns the non-root and non-privileged pod security context for pods that container security context can't be set directly.

func NewRootContext added in v1.29.1

func NewRootContext(privileged bool) *corev1.SecurityContext

NewRootContext returns the root container security context for containers that access host files or network.

func NewWindowsHostProcessContext added in v1.32.0

func NewWindowsHostProcessContext() *corev1.SecurityContext

Types

This section is empty.

Jump to

Keyboard shortcuts

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