From 4fe2c0345762d84b2706c4db23ec66a8fbdc4f2b Mon Sep 17 00:00:00 2001 From: Claudiu Dragalina-Paraipan Date: Tue, 15 Oct 2024 10:31:06 +0300 Subject: [PATCH] always enable FlagAppPlatformGrpcClientAuth for k8s int tests --- pkg/tests/apis/helper.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/tests/apis/helper.go b/pkg/tests/apis/helper.go index 38d4ee9c602..324aa983338 100644 --- a/pkg/tests/apis/helper.go +++ b/pkg/tests/apis/helper.go @@ -63,6 +63,9 @@ type K8sTestHelper struct { func NewK8sTestHelper(t *testing.T, opts testinfra.GrafanaOpts) *K8sTestHelper { t.Helper() + // Always enable `FlagAppPlatformGrpcClientAuth` for k8s integration tests, as this is the desired behavior. + // The flag only exists to support the transition from the old to the new behavior in dev/ops/prod. + opts.EnableFeatureToggles = append(opts.EnableFeatureToggles, featuremgmt.FlagAppPlatformGrpcClientAuth) dir, path := testinfra.CreateGrafDir(t, opts) _, env := testinfra.StartGrafanaEnv(t, dir, path)