delete auditing controller

This commit is contained in:
wanjunlei
2020-06-13 17:42:27 +08:00
parent 584bdda50e
commit b96537b27f
2 changed files with 0 additions and 148 deletions

View File

@@ -20,7 +20,6 @@ import (
"fmt"
"k8s.io/klog"
"kubesphere.io/kubesphere/pkg/controller/application"
"kubesphere.io/kubesphere/pkg/controller/auditing"
"kubesphere.io/kubesphere/pkg/controller/certificatesigningrequest"
"kubesphere.io/kubesphere/pkg/controller/cluster"
"kubesphere.io/kubesphere/pkg/controller/clusterrolebinding"
@@ -162,8 +161,6 @@ func AddControllers(
kubesphereInformer.Tenant().V1alpha1().Workspaces(),
kubernetesInformer.Core().V1().Namespaces(), nsnpProvider)
auditingController := auditing.NewController(kubesphereInformer.Auditing().V1alpha1().Webhooks())
controllers := map[string]manager.Runnable{
"virtualservice-controller": vsController,
"destinationrule-controller": drController,
@@ -181,7 +178,6 @@ func AddControllers(
"csr-controller": csrController,
"clusterrolebinding-controller": clusterRoleBindingController,
"globalrolebinding-controller": globalRoleBindingController,
"auditing-controller": auditingController,
}
if storageCapabilityController.IsValidKubernetesVersion() {