Interface ValueReferenceConfig


public interface ValueReferenceConfig
  • Method Details

    • property

      Optional<String> property()
      The name of the property that will be present in the Helm values file. If the property starts with `@.`, then the property won't be added under the root element in the generated `values.yaml` file.
    • paths

      Optional<List<String>> paths()
      A comma-separated list of YAMLPath expressions to map the Dekorate auto-generated properties to the final Helm values file.
    • profile

      Optional<String> profile()
      The profile where this value reference will be mapped to. For example, if the profile is `dev`, then a `values.dev.yml` file will be created with the value.
    • value

      Optional<String> value()
      The value that the property will have in the Helm values file. If not set, the extension will resolve it from the generated artifacts.
    • valueAsInt

      Optional<Integer> valueAsInt()
      The integer value that the property will have in the Helm values file. If not set, the extension will resolve it from the generated artifacts.
    • valueAsBool

      Optional<Boolean> valueAsBool()
      The boolean value that the property will have in the Helm values file. If not set, the extension will resolve it from the generated artifacts.
    • valueAsMap

      Map<String,String> valueAsMap()
      The map value that the property will have in the Helm values file. If not set, the extension will resolve it from the generated artifacts.
    • valueAsList

      Optional<List<String>> valueAsList()
      A list separated by comma that the property will have in the Helm values file. If not set, the extension will resolve it from the generated artifacts.
    • expression

      Optional<String> expression()
      If not provided, it will use `{{ .Values.. }}`.
      Returns:
      The complete Helm expression to be replaced with.
    • description

      Optional<String> description()
      Description of the property.
    • minimum

      Optional<Integer> minimum()
      Minimum value allowed for this property.
    • maximum

      Optional<Integer> maximum()
      Maximum value allowed for this property.
    • pattern

      Optional<String> pattern()
      Pattern to validate the value of this property.
    • required

      @WithDefault("false") boolean required()
      If true, then this property is mandatory.