Skip to content

Commit

Permalink
k8s: first cleanup stp
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroEsc committed Aug 31, 2023
1 parent aa99771 commit 4ed9875
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const (

type DecommissionReconciler struct {
client.Client
// Namespace is where the pvc's are we are watching for
OperatorMode bool
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
// RedpandaNodePVCReconciler watches node objects, and sets annotation to PVC to mark them for deletion
type RedpandaNodePVCReconciler struct {
client.Client
// Namespace is where the pvc's are we are watching for
OperatorMode bool
}

Expand Down
2 changes: 1 addition & 1 deletion src/go/k8s/controllers/test/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ var _ = BeforeSuite(func(suiteCtx SpecContext) {
RequeueHelmDeps: 10 * time.Second,
}).SetupWithManager(k8sManager)
Expect(err).ToNot(HaveOccurred())

err = (&redpanda.DecommissionReconciler{
Client: k8sManager.GetClient(),
OperatorMode: false,
Expand Down

0 comments on commit 4ed9875

Please sign in to comment.