diff --git a/tests/framework/ngf.go b/tests/framework/ngf.go index 3ddb7d0d85..87252bc325 100644 --- a/tests/framework/ngf.go +++ b/tests/framework/ngf.go @@ -134,7 +134,7 @@ func UpgradeNGF(cfg InstallationConfig, extraArgs ...string) ([]byte, error) { crdPath := filepath.Join(cfg.ChartPath, "crds") + "/" cmd := exec.CommandContext( context.Background(), - "kubectl", "apply", "-f", crdPath, + "kubectl", "apply", "--server-side", "-f", crdPath, ) output, err := cmd.CombinedOutput() if err != nil {