From 2ef94a9e71df2fed7f7ff157e23283f6e8d9a997 Mon Sep 17 00:00:00 2001 From: "Gabriel M. Dutra" Date: Fri, 26 Jul 2024 20:10:19 -0300 Subject: [PATCH] crossplane: Add test to 'proxy_hide_header' directive (#11687) Signed-off-by: Gabriel M. Dutra --- .../ingress/controller/template/crossplane/crossplane_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ingress/controller/template/crossplane/crossplane_test.go b/internal/ingress/controller/template/crossplane/crossplane_test.go index 68c83ad29..71765d677 100644 --- a/internal/ingress/controller/template/crossplane/crossplane_test.go +++ b/internal/ingress/controller/template/crossplane/crossplane_test.go @@ -71,6 +71,7 @@ func TestCrossplaneTemplate(t *testing.T) { t.Run("it should be able to marshall and unmarshall the default configuration", func(t *testing.T) { tplConfig.Cfg.DefaultSSLCertificate = defaultCertificate tplConfig.Cfg.EnableBrotli = true + tplConfig.Cfg.HideHeaders = []string{"x-fake-header", "x-another-fake-header"} tpl.SetMimeFile(mimeFile.Name()) content, err := tpl.Write(tplConfig)