static PodSecurityContext.Builder |
PodSecurityContext.Builder.create() |
|
PodSecurityContext.Builder |
PodSecurityContext.Builder.ensureNonRoot(Boolean ensureNonRoot) |
Indicates that the container must run as a non-root user.
|
PodSecurityContext.Builder |
PodSecurityContext.Builder.fsGroup(Number fsGroup) |
Modify the ownership and permissions of pod volumes to this GID.
|
PodSecurityContext.Builder |
PodSecurityContext.Builder.fsGroupChangePolicy(FsGroupChangePolicy fsGroupChangePolicy) |
Defines behavior of changing ownership and permission of the volume before being exposed inside Pod.
|
PodSecurityContext.Builder |
PodSecurityContext.Builder.group(Number group) |
The GID to run the entrypoint of the container process.
|
PodSecurityContext.Builder |
PodSecurityContext.Builder.sysctls(List<? extends Sysctl> sysctls) |
Sysctls hold a list of namespaced sysctls used for the pod.
|
PodSecurityContext.Builder |
PodSecurityContext.Builder.user(Number user) |
The UID to run the entrypoint of the container process.
|