Class EnvVarFromKeyConfig

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

public class EnvVarFromKeyConfig extends Object
The configuration of environment variables taking their value from a Secret or ConfigMap field identified by its key.
  • Field Details

    • fromSecret

      @ConfigItem Optional<String> fromSecret
      The optional name of the Secret from which a value is to be extracted. Mutually exclusive with fromConfigmap.
    • fromConfigmap

      @ConfigItem Optional<String> fromConfigmap
      The optional name of the ConfigMap from which a value is to be extracted. Mutually exclusive with fromSecret.
    • withKey

      @ConfigItem String withKey
      The key identifying the field from which the value is extracted.
  • Constructor Details

    • EnvVarFromKeyConfig

      public EnvVarFromKeyConfig()