refactor: code reformat (#5786)

This commit is contained in:
hongming
2023-06-26 10:21:40 +08:00
committed by GitHub
parent 5304a1234c
commit 528294f843

View File

@@ -65,7 +65,7 @@ func (k *postRendererKustomize) Run(renderedManifests *bytes.Buffer) (modifiedMa
input := "./.local-helm-output.yaml"
cfg := kustypes.Kustomization{
Resources: []string{input},
CommonAnnotations: k.annotations, // add extra annotations to output
CommonAnnotations: k.annotations, // add extra annotations to output
Labels: []kustypes.Label{{Pairs: k.labels}}, // Labels to add to all objects but not selectors.
}
cfg.APIVersion = kustypes.KustomizationVersion