Class SecurityContextConfig


  • public class SecurityContextConfig
    extends Object
    • Field Detail

      • 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.
    • Constructor Detail

      • SecurityContextConfig

        public SecurityContextConfig()
    • Method Detail

      • isAnyPropertySet

        protected boolean isAnyPropertySet()