new command kustomize edit add buildmetadata (#4413)

* new command kustomize edit add buildmetadata

* new commands kustomize edit set buildmetadata and kustomize edit remove buildmetadata
This commit is contained in:
Natasha Sarkar
2022-01-26 15:34:50 -08:00
committed by GitHub
parent c65ef489ca
commit bcebad1664
16 changed files with 450 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ func (p *plugin) Transform(m resmap.ResMap) error {
if p.Prefix != "" {
// TODO: There are multiple transformers that can change a resource's name, and each makes a call to
// StorePreviousID(). We should make it so that we only call StorePreviousID once per kustomization layer
// to avoid storing intermediate names between transformations, to prevent intermediate name conflicts.
// to avoid storing intermediate names between transformations, to prevent intermediate name conflicts.
r.StorePreviousId()
}
}