Class EnvVarPrefixConfig

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

public class EnvVarPrefixConfig extends Object
The configuration of environment variables prefix. It is used with quarkus.kubernetes.env.secrets and quarkus.kubernetes.env.configmaps to specify the prefix to use when adding the environment variable to the container.
  • Field Details

    • forSecret

      @ConfigItem Optional<String> forSecret
      The optional prefix to use when adding the environment variable to the container.
    • forConfigmap

      @ConfigItem Optional<String> forConfigmap
      The optional prefix to use when adding the environment variable to the container.
  • Constructor Details

    • EnvVarPrefixConfig

      public EnvVarPrefixConfig()
  • Method Details

    • anyPresent

      public boolean anyPresent()
    • hasConfigmap

      public boolean hasConfigmap()
    • hasSecret

      public boolean hasSecret()
    • hasPrefixForSecret

      public boolean hasPrefixForSecret(String secret)
    • hasPrefixForConfigmap

      public boolean hasPrefixForConfigmap(String configmap)