Skip to content

Commit

Permalink
Fix E2E
Browse files Browse the repository at this point in the history
Signed-off-by: Israel Blancas <[email protected]>
  • Loading branch information
iblancasa committed Mar 14, 2024
1 parent dc67211 commit 48d6240
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 48d6240

Please sign in to comment.