always enable FlagAppPlatformGrpcClientAuth for k8s int tests

This commit is contained in:
Claudiu Dragalina-Paraipan 2024-10-15 10:31:06 +03:00
parent c7e36759cd
commit 4fe2c03457

View File

@ -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)