diff --git a/tests/e2e/miscellaneous/non-cluster-wide/01-install.yaml.template b/tests/e2e/miscellaneous/non-cluster-wide/01-install.yaml.template index a80cf97b1..85934d68a 100644 --- a/tests/e2e/miscellaneous/non-cluster-wide/01-install.yaml.template +++ b/tests/e2e/miscellaneous/non-cluster-wide/01-install.yaml.template @@ -9,4 +9,4 @@ kind: TestStep commands: # To run this test, we modify the operator to only run and look in this namespace - script: "cd {{ .Env.ROOT_DIR }}/config/default && {{ .Env.KUSTOMIZE }} edit set namespace $NAMESPACE" - - script: "cd {{ .Env.ROOT_DIR }} && {{ .Env.KUSTOMIZE }} build config/namespaced | kubectl apply -f - -n $NAMESPACE" + - script: "cd {{ .Env.ROOT_DIR }} && {{ .Env.KUSTOMIZE }} build config/default | kubectl apply -f - -n $NAMESPACE" diff --git a/tests/e2e/miscellaneous/non-cluster-wide/03-install.yaml.template b/tests/e2e/miscellaneous/non-cluster-wide/03-install.yaml.template index b110e3124..8cad8b7de 100644 --- a/tests/e2e/miscellaneous/non-cluster-wide/03-install.yaml.template +++ b/tests/e2e/miscellaneous/non-cluster-wide/03-install.yaml.template @@ -2,6 +2,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: # Restore operator - - script: "cd {{ .Env.ROOT_DIR }} && {{ .Env.KUSTOMIZE }} build config/namespaced | kubectl delete -f - -n $NAMESPACE" - script: "cd {{ .Env.ROOT_DIR }}/config/default && {{ .Env.KUSTOMIZE }} edit set namespace observability" - script: "cd {{ .Env.ROOT_DIR }} && make deploy"