Skip to content

Commit

Permalink
refactor: bump operator-go to 0.12-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lwpk110 committed Nov 21, 2024
1 parent b323f15 commit c099b09
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 24 deletions.
2 changes: 1 addition & 1 deletion config/crd/bases/kafka.kubedoop.dev_kafkaclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ metadata:
name: manager-role
rules:
- apiGroups:
- apps
- ""
resources:
- statefulsets
- configmaps
- serviceaccounts
- services
verbs:
- create
- delete
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
9 changes: 0 additions & 9 deletions test/e2e/setup/zookeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c099b09

Please sign in to comment.