diff --git a/kustomize/commands/internal/kustfile/kustomizationfile.go b/kustomize/commands/internal/kustfile/kustomizationfile.go index a0c544537..d9e9493fa 100644 --- a/kustomize/commands/internal/kustfile/kustomizationfile.go +++ b/kustomize/commands/internal/kustfile/kustomizationfile.go @@ -55,6 +55,7 @@ func determineFieldOrder() []string { "SecretGenerator", "HelmCharts", "HelmChartInflationGenerator", + "HelmGlobals", "GeneratorOptions", "Vars", "Images", diff --git a/kustomize/commands/internal/kustfile/kustomizationfile_test.go b/kustomize/commands/internal/kustfile/kustomizationfile_test.go index 8e6475d36..760ee3445 100644 --- a/kustomize/commands/internal/kustfile/kustomizationfile_test.go +++ b/kustomize/commands/internal/kustfile/kustomizationfile_test.go @@ -37,6 +37,7 @@ func TestFieldOrder(t *testing.T) { "SecretGenerator", "HelmCharts", "HelmChartInflationGenerator", + "HelmGlobals", "GeneratorOptions", "Vars", "Images",