Skip to content

Commit

Permalink
Revert "update"
Browse files Browse the repository at this point in the history
This reverts commit dd0fd60.
  • Loading branch information
cupnes committed Mar 13, 2024
1 parent e7c21d2 commit baae96c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions e2e/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ launch-rook-ceph: create-loop-dev
$(KUBECTL) apply -f testdata/operator.yaml
sed -e "s%LOOP_DEV%$(LOOP_DEV)%" -e "s%NODE_NAME%$(NODE_NAME)%" testdata/cluster-template.yaml > testdata/cluster.yaml
$(KUBECTL) apply -f testdata/cluster.yaml
$(KUBECTL) apply -f testdata/toolbox.yaml

.PHONY: delete-rook-ceph
delete-rook-ceph:
Expand Down
8 changes: 0 additions & 8 deletions e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ import (
)

var (
//go:embed testdata/toolbox-template.yaml
testToolboxTemplate string

//go:embed testdata/pvc-template.yaml
testPVCTemplate string

Expand Down Expand Up @@ -81,11 +78,6 @@ func TestMtest(t *testing.T) {
}

var _ = BeforeSuite(func() {
By("[BeforeSuite] Deploying toolbox pod")
manifest := fmt.Sprintf(testToolboxTemplate, namespace)
_, _, err := kubectlWithInput([]byte(manifest), "apply", "-f", "-")
Expect(err).NotTo(HaveOccurred())

By("[BeforeSuite] Waiting for rook to get ready")
Eventually(func() error {
stdout, stderr, err := kubectl("-n", namespace, "get", "deploy", "rook-ceph-operator", "-o", "json")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: rook-ceph-tools
namespace: %s
namespace: rook-ceph # namespace:cluster
labels:
app: rook-ceph-tools
spec:
Expand Down

0 comments on commit baae96c

Please sign in to comment.