Skip to content

Commit 30573ee

Browse files
committed
build: regenerate deploy manifests and tidy go.mod
Remove stale cbt.storage.k8s.io RBAC rule from all generated deploy artifacts (install.yaml, install-openshift.yaml, operator.yaml, manager-rbac.yaml) to match the removed kubebuilder:rbac marker. Run go mod tidy + go mod vendor to remove the now-unused external-snapshot-metadata dependency from go.mod and vendor/. Assisted-by: Claude <noreply@anthropic.com> Signed-off-by: Rakshith R <rar@redhat.com>
1 parent 8ba1883 commit 30573ee

12 files changed

Lines changed: 3 additions & 488 deletions

File tree

deploy/all-in-one/install-openshift.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15743,14 +15743,6 @@ rules:
1574315743
- patch
1574415744
- update
1574515745
- watch
15746-
- apiGroups:
15747-
- cbt.storage.k8s.io
15748-
resources:
15749-
- snapshotmetadataservices
15750-
verbs:
15751-
- get
15752-
- list
15753-
- watch
1575415746
- apiGroups:
1575515747
- csi.ceph.io
1575615748
resources:

deploy/all-in-one/install.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15729,14 +15729,6 @@ rules:
1572915729
- patch
1573015730
- update
1573115731
- watch
15732-
- apiGroups:
15733-
- cbt.storage.k8s.io
15734-
resources:
15735-
- snapshotmetadataservices
15736-
verbs:
15737-
- get
15738-
- list
15739-
- watch
1574015732
- apiGroups:
1574115733
- csi.ceph.io
1574215734
resources:

deploy/charts/ceph-csi-operator/templates/manager-rbac.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@ rules:
3131
- patch
3232
- update
3333
- watch
34-
- apiGroups:
35-
- cbt.storage.k8s.io
36-
resources:
37-
- snapshotmetadataservices
38-
verbs:
39-
- get
40-
- list
41-
- watch
4234
- apiGroups:
4335
- csi.ceph.io
4436
resources:

deploy/multifile/operator.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,6 @@ rules:
288288
- patch
289289
- update
290290
- watch
291-
- apiGroups:
292-
- cbt.storage.k8s.io
293-
resources:
294-
- snapshotmetadataservices
295-
verbs:
296-
- get
297-
- list
298-
- watch
299291
- apiGroups:
300292
- csi.ceph.io
301293
resources:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.25.8
55
require (
66
github.com/ceph/ceph-csi-operator/api v0.0.0-20260211052505-60308e55e5d9
77
github.com/go-logr/logr v1.4.3
8-
github.com/kubernetes-csi/external-snapshot-metadata/client v1.0.0
98
github.com/onsi/ginkgo/v2 v2.31.0
109
github.com/onsi/gomega v1.42.0
1110
github.com/stretchr/testify v1.11.1
@@ -26,6 +25,7 @@ require (
2625
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2726
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2827
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
28+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
2929
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
3030
github.com/felixge/httpsnoop v1.0.4 // indirect
3131
github.com/fsnotify/fsnotify v1.9.0 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
111111
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
112112
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
113113
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
114-
github.com/kubernetes-csi/external-snapshot-metadata/client v1.0.0 h1:yRSDNeTNeZq7lSuDKXMv29ejtIRDgmJHCq36EjLQxLU=
115-
github.com/kubernetes-csi/external-snapshot-metadata/client v1.0.0/go.mod h1:Nufr1PWalLkuIyjS4Zr+ugyYEbK7MzbEUtZQUPeAJF0=
116114
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
117115
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
118116
github.com/maruel/natural v1.1.1 h1:Hja7XhhmvEFhcByqDoHz9QZbkWey+COd9xWfCfn1ioo=

vendor/github.com/kubernetes-csi/external-snapshot-metadata/client/LICENSE

Lines changed: 0 additions & 201 deletions
This file was deleted.

vendor/github.com/kubernetes-csi/external-snapshot-metadata/client/apis/snapshotmetadataservice/v1beta1/doc.go

Lines changed: 0 additions & 20 deletions
This file was deleted.

vendor/github.com/kubernetes-csi/external-snapshot-metadata/client/apis/snapshotmetadataservice/v1beta1/register.go

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)