Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/core@v1/structs.ts>SecurityContext

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface SecurityContext
import { type SecurityContext } from "https://deno.land/x/kubernetes_apis@v0.5.3/builtin/core@v1/structs.ts";

SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

Properties

optional
allowPrivilegeEscalation: boolean | null
optional
appArmorProfile: AppArmorProfile | null
optional
capabilities: Capabilities | null
optional
privileged: boolean | null
optional
procMount: string | null
optional
readOnlyRootFilesystem: boolean | null
optional
runAsGroup: number | null
optional
runAsNonRoot: boolean | null
optional
runAsUser: number | null
optional
seLinuxOptions: SELinuxOptions | null
optional
seccompProfile: SeccompProfile | null
optional
windowsOptions: WindowsSecurityContextOptions | null