diff --git a/kustomize/commands/internal/kustfile/kustomizationfile.go b/kustomize/commands/internal/kustfile/kustomizationfile.go index 0d313d14c..617f2ed6d 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 032605730..0bcb07c56 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",