Updated on 2023-12-13 GMT+08:00

K8S.PodSecurityContext

Property Description

Table 1 Property description

Property

Required

Type

Description

runAsUser

No

integer

RunAsUser of the context

supplementalGroups

No

integer

SupplementalGroups of the context

fsGroup

No

integer

FsGroups of the context

hostNetwork

No

boolean

Enable Host Network

runAsNonRoot

No

boolean

RunAsNonRoot of the context

seLinuxOptions

No

K8S.SecurityContext.SeLinuxOptions

Selinux Options

hostIPC

No

boolean

Enable Host IPC

hostPID

No

boolean

Enable host PID