Skip to content

Commit 252d1ed

Browse files
committed
Update dependencies, fix missing required exchange in TopicPermissions spec.
1 parent b585625 commit 252d1ed

34 files changed

+258
-507
lines changed

.github/workflows/build-test-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
tags: [ "v*" ]
1313

1414
env:
15-
GO_VERSION: '1.22.x' # Require Go 1.22 minor
15+
GO_VERSION: '1.23.x' # Require Go 1.23 minor
1616

1717
jobs:
1818
golangci:

api/v1beta1/topicpermission_types_test.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,12 @@ var _ = Describe("TopicPermission", func() {
5959
UserReference: &corev1.LocalObjectReference{
6060
Name: "a-created-user",
6161
},
62-
Vhost: "/test",
63-
Permissions: TopicPermissionConfig{},
62+
Vhost: "/test",
63+
Permissions: TopicPermissionConfig{
64+
Exchange: "some",
65+
Read: "^?",
66+
Write: ".*",
67+
},
6468
RabbitmqClusterReference: RabbitmqClusterReference{
6569
Name: "some-cluster",
6670
},

config/crd/bases/rabbitmq.com_bindings.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: bindings.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -72,9 +72,7 @@ spec:
7272
This field is effectively required, but due to backwards compatibility is
7373
allowed to be empty. Instances of this type with an empty value here are
7474
almost certainly wrong.
75-
TODO: Add other useful fields. apiVersion, kind, uid?
7675
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
77-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
7876
type: string
7977
type: object
8078
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_exchanges.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: exchanges.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -71,9 +71,7 @@ spec:
7171
This field is effectively required, but due to backwards compatibility is
7272
allowed to be empty. Instances of this type with an empty value here are
7373
almost certainly wrong.
74-
TODO: Add other useful fields. apiVersion, kind, uid?
7574
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
76-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
7775
type: string
7876
type: object
7977
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_federations.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: federations.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -82,9 +82,7 @@ spec:
8282
This field is effectively required, but due to backwards compatibility is
8383
allowed to be empty. Instances of this type with an empty value here are
8484
almost certainly wrong.
85-
TODO: Add other useful fields. apiVersion, kind, uid?
8685
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
87-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
8886
type: string
8987
type: object
9088
x-kubernetes-map-type: atomic
@@ -117,9 +115,7 @@ spec:
117115
This field is effectively required, but due to backwards compatibility is
118116
allowed to be empty. Instances of this type with an empty value here are
119117
almost certainly wrong.
120-
TODO: Add other useful fields. apiVersion, kind, uid?
121118
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
122-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
123119
type: string
124120
type: object
125121
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_operatorpolicies.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: operatorpolicies.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -90,9 +90,7 @@ spec:
9090
This field is effectively required, but due to backwards compatibility is
9191
allowed to be empty. Instances of this type with an empty value here are
9292
almost certainly wrong.
93-
TODO: Add other useful fields. apiVersion, kind, uid?
9493
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
95-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
9694
type: string
9795
type: object
9896
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_permissions.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: permissions.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -71,9 +71,7 @@ spec:
7171
This field is effectively required, but due to backwards compatibility is
7272
allowed to be empty. Instances of this type with an empty value here are
7373
almost certainly wrong.
74-
TODO: Add other useful fields. apiVersion, kind, uid?
7574
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
76-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
7775
type: string
7876
type: object
7977
x-kubernetes-map-type: atomic
@@ -104,9 +102,7 @@ spec:
104102
This field is effectively required, but due to backwards compatibility is
105103
allowed to be empty. Instances of this type with an empty value here are
106104
almost certainly wrong.
107-
TODO: Add other useful fields. apiVersion, kind, uid?
108105
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
109-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
110106
type: string
111107
type: object
112108
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_policies.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: policies.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -92,9 +92,7 @@ spec:
9292
This field is effectively required, but due to backwards compatibility is
9393
allowed to be empty. Instances of this type with an empty value here are
9494
almost certainly wrong.
95-
TODO: Add other useful fields. apiVersion, kind, uid?
9695
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
97-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
9896
type: string
9997
type: object
10098
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_queues.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: queues.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -82,9 +82,7 @@ spec:
8282
This field is effectively required, but due to backwards compatibility is
8383
allowed to be empty. Instances of this type with an empty value here are
8484
almost certainly wrong.
85-
TODO: Add other useful fields. apiVersion, kind, uid?
8685
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
87-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
8886
type: string
8987
type: object
9088
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_schemareplications.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.4
77
name: schemareplications.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -66,9 +66,7 @@ spec:
6666
This field is effectively required, but due to backwards compatibility is
6767
allowed to be empty. Instances of this type with an empty value here are
6868
almost certainly wrong.
69-
TODO: Add other useful fields. apiVersion, kind, uid?
7069
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
71-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
7270
type: string
7371
type: object
7472
x-kubernetes-map-type: atomic
@@ -111,9 +109,7 @@ spec:
111109
This field is effectively required, but due to backwards compatibility is
112110
allowed to be empty. Instances of this type with an empty value here are
113111
almost certainly wrong.
114-
TODO: Add other useful fields. apiVersion, kind, uid?
115112
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
116-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
117113
type: string
118114
type: object
119115
x-kubernetes-map-type: atomic

0 commit comments

Comments
 (0)