Reinstate configmap/secret generator env field.

This commit is contained in:
monopole
2021-03-07 20:03:43 -08:00
parent 9c4966ccc8
commit a8b851f84a
4 changed files with 43 additions and 4 deletions

View File

@@ -28,4 +28,9 @@ type KvPairSources struct {
// or npm ".env" file or a ".ini" file
// (wikipedia.org/wiki/INI_file)
EnvSources []string `json:"envs,omitempty" yaml:"envs,omitempty"`
// Older, singular form of EnvSources.
// On edits (e.g. `kustomize fix`) this is merged into the plural form
// for consistency with LiteralSources and FileSources.
EnvSource string `json:"env,omitempty" yaml:"env,omitempty"`
}