Skip to content

Commit

Permalink
disabled CEL in envtests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaizanse authored and friedrichwilken committed May 31, 2023
1 parent cec89a7 commit 097c98b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testutils/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,9 @@ func StartEnvTest() (*envtest.Environment, *rest.Config, error) {
UseExistingCluster: &useExistingCluster,
}

args := testEnv.ControlPlane.GetAPIServer().Configure()
args.Set("feature-gates", "CustomResourceValidationExpressions=false")

var cfg *rest.Config
err := retry.Do(func() error {
defer func() {
Expand Down

0 comments on commit 097c98b

Please sign in to comment.