SecurityContext¶
Structure Class¶
SecurityContext
dataclass
¶
Container security context.
Attributes¶
allow_privilege_escalation
class-attribute
instance-attribute
¶
allow_privilege_escalation: bool | None = None
Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.
privileged
class-attribute
instance-attribute
¶
privileged: bool | None = None
Whether the container is privileged.