flux v2.9.5
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.
| Field / Type | Description |
|---|---|
kind | Kind of the values referent, valid values are ('Secret', 'ConfigMap').
|
name | Name of the values referent. Should reside in the same namespace as the referring resource.
|
optional | 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.
|