security

package
v0.0.0-...-658d3ce Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitPodSecurityContext

func InitPodSecurityContext() *corev1.PodSecurityContext

InitPodSecurityContext returns a v1.PodSecurityContext with some defaults.

func InitRestrictedSecurityContext

func InitRestrictedSecurityContext() *corev1.SecurityContext

InitRestrictedSecurityContext returns a v1.SecurityContext with safe defaults. See https://docs.k8s.io/concepts/security/pod-security-standards/

func InitSecurityContextForStartUp

func InitSecurityContextForStartUp() *corev1.SecurityContext

func PodSecurityContext

func PodSecurityContext(instance *v1.KDBInstance) *corev1.PodSecurityContext

PodSecurityContext returns a v1.PodSecurityContext for instance that can write to PersistentVolumes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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