flux v0.31.2

Kustomization.spec.postBuild.substituteFrom

SubstituteFrom holds references to ConfigMaps and Secrets containing the variables and their values to be substituted in the YAML manifests. The ConfigMap and the Secret data keys represent the var names and they must match the vars declared in the manifests for the substitution to happen.

3 fields
Kustomization.spec.postBuild.substituteFrom fields and descriptions
Field / TypeDescription
kind
string required

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

  • enum: ["Secret","ConfigMap"]
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 indicates whether the referenced resource must exist, or whether to tolerate its absence. If true and the referenced resource is absent, proceed as if the resource was present but empty, without any variables defined.

  • default: false