package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
ConvertPodSysctlsVariableToDotsSeparator converts sysctls variable in the Pod.Spec.SecurityContext.Sysctls slice into a dot as a separator according to the linux sysctl conversion rules.
NewAllowlist creates a new Allowlist from a list of sysctls and sysctl pattern (ending in *).
SafeSysctlAllowlist returns the allowlist of safe sysctls and safe sysctl patterns (ending in *).