From 5614852b338ecd48394cfff1ed140d6ec5cb999f Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Tue, 16 Feb 2021 14:17:09 -0800 Subject: [PATCH] fix edit commands remove metadata --- kustomize/commands/internal/kustfile/kustomizationfile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kustomize/commands/internal/kustfile/kustomizationfile.go b/kustomize/commands/internal/kustfile/kustomizationfile.go index 902b18837..ed5f9d25d 100644 --- a/kustomize/commands/internal/kustfile/kustomizationfile.go +++ b/kustomize/commands/internal/kustfile/kustomizationfile.go @@ -38,6 +38,7 @@ func determineFieldOrder() []string { } ordered := []string{ + "MetaData", "Resources", "Bases", "NamePrefix",