Class ContainerConfig

    • Field Detail

      • workingDir

        @ConfigItem
        Optional<String> workingDir
        Working directory.
      • serviceAccount

        @ConfigItem
        Optional<String> serviceAccount
        The service account.
      • host

        @ConfigItem
        Optional<String> host
        The host under which the application is going to be exposed.
      • imagePullPolicy

        @ConfigItem(defaultValue="Always")
        io.dekorate.kubernetes.annotation.ImagePullPolicy imagePullPolicy
        Image pull policy.
      • imagePullSecrets

        @ConfigItem
        Optional<List<String>> imagePullSecrets
        The image pull secret
      • livenessProbe

        @ConfigItem
        ProbeConfig livenessProbe
        The liveness probe.
      • readinessProbe

        @ConfigItem
        ProbeConfig readinessProbe
        The readiness probe.
      • envVars

        @ConfigItem
        @Deprecated
        Map<String,​EnvConfig> envVars
        Deprecated.
        Use env instead using the new syntax as follows:
        • quarkus.kubernetes.env-vars.foo.field=fieldName becomes quarkus.kubernetes.env.fields.foo=fieldName
        • quarkus.kubernetes.env-vars.envvar.value=value becomes quarkus.kubernetes.env.vars.envvar=value
        • quarkus.kubernetes.env-vars.bar.configmap=configName becomes quarkus.kubernetes.env.configmaps=configName
        • quarkus.kubernetes.env-vars.baz.secret=secretName becomes quarkus.kubernetes.env.secrets=secretName
        Environment variables to add to all containers using the old syntax.
      • env

        @ConfigItem
        EnvVarsConfig env
        Environment variables to add to all containers.
    • Constructor Detail

      • ContainerConfig

        public ContainerConfig()
    • Method Detail

      • getEnv

        public EnvVarsConfig getEnv()
        Description copied from interface: EnvVarHolder
        Retrieves the definition of environment variables to add to the application's container.
        Specified by:
        getEnv in interface EnvVarHolder
        Returns:
        the associated EnvVarsConfig holding the definition of which environment variables to add
      • getTargetPlatformName

        public String getTargetPlatformName()
        Description copied from interface: EnvVarHolder
        Specifies which the name of the platform this EnvVarHolder targets. This name, when needed, is used by dekorate to generate the descriptor associated with the targeted deployment platform.
        Specified by:
        getTargetPlatformName in interface EnvVarHolder
        Returns:
        the name of the targeted platform e.g. Constants.KUBERNETES
      • convertToEnvs

        public Collection<io.dekorate.kubernetes.config.Env> convertToEnvs()