Package io.quarkus.kubernetes.deployment
Class SecurityContextConfig
java.lang.Object
io.quarkus.kubernetes.deployment.SecurityContextConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionA special supplemental group that applies to all containers in a pod.(package private) Optional<SecurityContextConfig.PodFSGroupChangePolicy>It holds policies that will be used for applying fsGroup to a volume when volume is mounted.The 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.(package private) SecurityContextConfig.SeLinuxOptionsSELinuxOptions 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 hold a list of namespaced sysctls used for the pod.(package private) SecurityContextConfig.WindowsOptionsThe Windows specific settings applied to all containers. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
seLinuxOptions
SecurityContextConfig.SeLinuxOptions seLinuxOptionsSELinuxOptions to be applied to the container. -
windowsOptions
SecurityContextConfig.WindowsOptions windowsOptionsThe 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
It holds policies that will be used for applying fsGroup to a volume when volume is mounted. Values: OnRootMismatch, Always
-
-
Constructor Details
-
SecurityContextConfig
public SecurityContextConfig()
-
-
Method Details
-
isAnyPropertySet
protected boolean isAnyPropertySet()
-