Enable batch/v2alpha1 globally for e2e tests
This commit is contained in:
@@ -262,6 +262,8 @@ func TearDown() bool {
|
|||||||
|
|
||||||
// Up brings an e2e cluster up, recreating it if one is already running.
|
// Up brings an e2e cluster up, recreating it if one is already running.
|
||||||
func Up() bool {
|
func Up() bool {
|
||||||
|
// force having batch/v2alpha1 always on for e2e tests
|
||||||
|
os.Setenv("KUBE_RUNTIME_CONFIG", "batch/v2alpha1=true")
|
||||||
return finishRunning("up", exec.Command("./hack/e2e-internal/e2e-up.sh"))
|
return finishRunning("up", exec.Command("./hack/e2e-internal/e2e-up.sh"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user