Package io.quarkus.kubernetes.deployment
Interface SecurityContextConfig
public interface SecurityContextConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionfsGroup()A special supplemental group that applies to all containers in a pod.It holds policies that will be used for applying fsGroup to a volume when volume is mounted.default booleanThe GID to run the entrypoint of the container process.Indicates that the container must run as a non-root user.The UID to run the entrypoint of the container process.SELinuxOptions to be applied to the container.A list of groups applied to the first process run in each container, in addition to the container's primary GID.sysctls()Sysctls hold a list of namespaced sysctls used for the pod.The Windows specific settings applied to all containers.
-
Method Details
-
seLinuxOptions
SecurityContextConfig.SeLinuxOptions seLinuxOptions()SELinuxOptions to be applied to the container. -
windowsOptions
SecurityContextConfig.WindowsOptions windowsOptions()The Windows specific settings applied to all containers. -
runAsUser
The UID to run the entrypoint of the container process. -
runAsGroup
The GID to run the entrypoint of the container process. -
runAsNonRoot
Indicates that the container must run as a non-root user. -
supplementalGroups
A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. -
fsGroup
A special supplemental group that applies to all containers in a pod. -
sysctls
Sysctls hold a list of namespaced sysctls used for the pod. -
fsGroupChangePolicy
Optional<SecurityContextConfig.PodFSGroupChangePolicy> fsGroupChangePolicy()It holds policies that will be used for applying fsGroup to a volume when volume is mounted. Values: OnRootMismatch, Always -
isAnyPropertySet
default boolean isAnyPropertySet()
-