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.
Click to show internal directories.
Click to hide internal directories.