flux v2.9.5

HelmRelease.spec.valuesFrom[]

ValuesReference contains a reference to a resource containing Helm values, and optionally the key they can be found at.

6 fields
HelmRelease.spec.valuesFrom[] fields and descriptions
Field / TypeDescription
kind
string required

Kind of the values referent, valid values are ('Secret', 'ConfigMap').

  • enum: ["Secret","ConfigMap"]
literal
boolean

Literal marks this ValuesReference as a literal value. When set in combination with TargetPath, the referenced value is merged at the target path without interpreting Helm's `--set` syntax (commas, brackets, dots, equal signs, etc.), mirroring the behavior of `helm --set-literal`. This is the only safe way to inject arbitrary file content (config files, JSON blobs, multi-line strings containing special characters) through `valuesFrom`. Has no effect when TargetPath is empty: in that mode the referenced value is always YAML-merged at the root.

name
string required

Name of the values referent. Should reside in the same namespace as the referring resource.

  • minLength: 1
  • maxLength: 253
optional
boolean

Optional marks this ValuesReference as optional. When set, a not found error for the values reference is ignored, but any ValuesKey, TargetPath or transient error will still result in a reconciliation failure.

targetPath
string

TargetPath is the YAML dot notation path the value should be merged at. When set, the ValuesKey is expected to be a single flat value. Defaults to 'None', which results in the values getting merged at the root.

  • maxLength: 250
  • pattern: ^([a-zA-Z0-9_\-.\\\/]|\[[0-9]{1,5}\])+$
valuesKey
string

ValuesKey is the data key where the values.yaml or a specific value can be found at. Defaults to 'values.yaml'.

  • maxLength: 253
  • pattern: ^[\-._a-zA-Z0-9]+$