We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 203d34d + daa8d3b commit 57a2b85Copy full SHA for 57a2b85
pkg/controller/nodeconfig/sync_daemonsets.go
@@ -8,6 +8,7 @@ import (
8
9
scyllav1alpha1 "github.com/scylladb/scylla-operator/pkg/api/scylla/v1alpha1"
10
"github.com/scylladb/scylla-operator/pkg/controllerhelpers"
11
+ "github.com/scylladb/scylla-operator/pkg/naming"
12
"github.com/scylladb/scylla-operator/pkg/resourceapply"
13
appsv1 "k8s.io/api/apps/v1"
14
)
@@ -30,7 +31,7 @@ func (ncc *Controller) syncDaemonSet(
30
31
requiredDaemonSets,
32
daemonSets,
33
&controllerhelpers.PruneControlFuncs{
- DeleteFunc: ncc.scyllaClient.NodeConfigs().Delete,
34
+ DeleteFunc: ncc.kubeClient.AppsV1().DaemonSets(naming.ScyllaOperatorNodeTuningNamespace).Delete,
35
},
36
ncc.eventRecorder)
37
if err != nil {
0 commit comments