flux v2.0.1

Kustomization.spec.postBuild

PostBuild describes which actions to perform on the YAML manifest generated by building the kustomize overlay.

2 fields
Kustomization.spec.postBuild fields and descriptions
Field / TypeDescription
map[string]string

Substitute holds a map of key/value pairs. The variables defined in your YAML manifests that match any of the keys defined in the map will be substituted with the set value. Includes support for bash string replacement functions e.g. ${var:=default}, ${var:position} and ${var/substring/replacement}.

object[]

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.