Class SecurityContextConfig

java.lang.Object
io.quarkus.kubernetes.deployment.SecurityContextConfig

public class SecurityContextConfig extends Object
  • Field Details

    • seLinuxOptions

      SELinuxOptions to be applied to the container.
    • windowsOptions

      The Windows specific settings applied to all containers.
    • runAsUser

      @ConfigItem Optional<Long> runAsUser
      The UID to run the entrypoint of the container process.
    • runAsGroup

      @ConfigItem Optional<Long> runAsGroup
      The GID to run the entrypoint of the container process.
    • runAsNonRoot

      @ConfigItem Optional<Boolean> runAsNonRoot
      Indicates that the container must run as a non-root user.
    • supplementalGroups

      @ConfigItem Optional<List<Long>> 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

      @ConfigItem Optional<Long> fsGroup
      A special supplemental group that applies to all containers in a pod.
    • sysctls

      @ConfigItem Optional<Map<String,String>> sysctls
      Sysctls hold a list of namespaced sysctls used for the pod.
    • fsGroupChangePolicy

      @ConfigItem Optional<SecurityContextConfig.PodFSGroupChangePolicy> 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()