Interface EnvVarFromKeyConfig


public interface EnvVarFromKeyConfig
The configuration of environment variables taking their value from a Secret or ConfigMap field identified by its key.
  • Method Summary

    Modifier and Type
    Method
    Description
    The optional name of the ConfigMap from which a value is to be extracted.
    The optional name of the Secret from which a value is to be extracted.
    The key identifying the field from which the value is extracted.
  • Method Details

    • fromSecret

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

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

      String withKey()
      The key identifying the field from which the value is extracted.