SecurityContextDefinition interface
The security context for the container.
Properties
allow |
A boolean value indicating whether the init process can elevate its privileges |
capabilities | The capabilities to add or drop from a container. |
privileged | The flag to determine if the container permissions is elevated to Privileged. |
run |
Sets the User GID for the container. |
run |
Sets the User UID for the container. |
seccomp |
a base64 encoded string containing the contents of the JSON in the seccomp profile |
Property Details
allowPrivilegeEscalation
A boolean value indicating whether the init process can elevate its privileges
allowPrivilegeEscalation?: boolean
Property Value
boolean
capabilities
The capabilities to add or drop from a container.
capabilities?: SecurityContextCapabilitiesDefinition
Property Value
privileged
The flag to determine if the container permissions is elevated to Privileged.
privileged?: boolean
Property Value
boolean
runAsGroup
Sets the User GID for the container.
runAsGroup?: number
Property Value
number
runAsUser
Sets the User UID for the container.
runAsUser?: number
Property Value
number
seccompProfile
a base64 encoded string containing the contents of the JSON in the seccomp profile
seccompProfile?: string
Property Value
string