diff --git a/config/crd/bases/kafka.kubedoop.dev_kafkaclusters.yaml b/config/crd/bases/kafka.kubedoop.dev_kafkaclusters.yaml index 12bd338..bf7ccc6 100644 --- a/config/crd/bases/kafka.kubedoop.dev_kafkaclusters.yaml +++ b/config/crd/bases/kafka.kubedoop.dev_kafkaclusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.5 name: kafkaclusters.kafka.kubedoop.dev spec: group: kafka.kubedoop.dev diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 866f9cc..e4a7bf2 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -5,9 +5,11 @@ metadata: name: manager-role rules: - apiGroups: - - apps + - "" resources: - - statefulsets + - configmaps + - serviceaccounts + - services verbs: - create - delete @@ -19,24 +21,22 @@ rules: - apiGroups: - "" resources: - - configmaps - - serviceaccounts - - services + - pods verbs: - - create - - delete - get - list - - patch - - update - watch - apiGroups: - - "" + - apps resources: - - pods + - statefulsets verbs: + - create + - delete - get - list + - patch + - update - watch - apiGroups: - kafka.kubedoop.dev diff --git a/go.mod b/go.mod index 5d7d7e5..472f2b5 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/go-logr/logr v1.4.2 github.com/onsi/ginkgo/v2 v2.21.0 github.com/onsi/gomega v1.35.1 - github.com/zncdatadev/operator-go v0.11.2 + github.com/zncdatadev/operator-go v0.11.3-0.20241120112858-dcdca6c6cd44 golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 k8s.io/api v0.31.2 k8s.io/apimachinery v0.31.2 diff --git a/go.sum b/go.sum index 3b365d8..dd3a0c0 100644 --- a/go.sum +++ b/go.sum @@ -136,8 +136,8 @@ github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/zncdatadev/operator-go v0.11.2 h1:/3ti+26D9w38gZV2eQLIz62mPe45em3Ej8iePoSj/04= -github.com/zncdatadev/operator-go v0.11.2/go.mod h1:Thc0Jo5LuXnwrb73shfI63PKlxC+7cGq7SClzo3Y5qI= +github.com/zncdatadev/operator-go v0.11.3-0.20241120112858-dcdca6c6cd44 h1:wxxTwfas5UAX46FoinIC/ZmGc+dlk5I+1cT3McypY+4= +github.com/zncdatadev/operator-go v0.11.3-0.20241120112858-dcdca6c6cd44/go.mod h1:9QGIaH5gTDgpv0kftcGkBGqCIj7cboC5ZMES9fZy4XI= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 h1:4K4tsIXefpVJtvA/8srF4V4y0akAoPHkIslgAkjixJA= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0/go.mod h1:jjdQuTGVsXV4vSs+CJ2qYDeDPf9yIJV23qlIzBm73Vg= go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo= diff --git a/test/e2e/setup/zookeeper.yaml b/test/e2e/setup/zookeeper.yaml index 26da5c9..ad857b8 100644 --- a/test/e2e/setup/zookeeper.yaml +++ b/test/e2e/setup/zookeeper.yaml @@ -18,15 +18,6 @@ spec: max: "800m" memory: limit: "2Gi" - logging: - zookeeperCluster: - loggers: - test: - level: DEBUG - console: - level: INFO - file: - level: INFO --- apiVersion: zookeeper.kubedoop.dev/v1alpha1 kind: ZookeeperZnode