From fe99674fcd2c46c7fff82671627412105396a5ef Mon Sep 17 00:00:00 2001 From: Rollo Date: Wed, 5 Jan 2022 17:56:29 +0000 Subject: [PATCH] Fix helm globals --- kustomize/commands/internal/kustfile/kustomizationfile.go | 1 + kustomize/commands/internal/kustfile/kustomizationfile_test.go | 1 + 2 files changed, 2 insertions(+) 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",