Skip to content

Commit 364cfff

Browse files
Bump k8s.io/apimachinery from 0.30.3 to 0.31.2 (#890)
* Bump k8s.io/apimachinery from 0.30.3 to 0.31.2 Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.30.3 to 0.31.2. - [Commits](kubernetes/apimachinery@v0.30.3...v0.31.2) --- updated-dependencies: - dependency-name: k8s.io/apimachinery dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update dependencies, fix missing required exchange in TopicPermissions spec. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mirah Gary <[email protected]>
1 parent 3a1acbc commit 364cfff

35 files changed

+270
-513
lines changed

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

+1-1
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:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM --platform=$BUILDPLATFORM golang:1.22 AS builder
2+
FROM --platform=$BUILDPLATFORM golang:1.23 AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

api/v1beta1/topicpermission_types_test.go

+6-2
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

+1-3
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

+1-3
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

+1-5
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

+1-3
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

+1-5
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

+1-3
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

+1-3
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

+1-5
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

config/crd/bases/rabbitmq.com_shovels.yaml

+1-5
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: shovels.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -113,9 +113,7 @@ spec:
113113
This field is effectively required, but due to backwards compatibility is
114114
allowed to be empty. Instances of this type with an empty value here are
115115
almost certainly wrong.
116-
TODO: Add other useful fields. apiVersion, kind, uid?
117116
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
118-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
119117
type: string
120118
type: object
121119
x-kubernetes-map-type: atomic
@@ -171,9 +169,7 @@ spec:
171169
This field is effectively required, but due to backwards compatibility is
172170
allowed to be empty. Instances of this type with an empty value here are
173171
almost certainly wrong.
174-
TODO: Add other useful fields. apiVersion, kind, uid?
175172
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
176-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
177173
type: string
178174
type: object
179175
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_superstreams.yaml

+1-3
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: superstreams.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -68,9 +68,7 @@ spec:
6868
This field is effectively required, but due to backwards compatibility is
6969
allowed to be empty. Instances of this type with an empty value here are
7070
almost certainly wrong.
71-
TODO: Add other useful fields. apiVersion, kind, uid?
7271
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
73-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
7472
type: string
7573
type: object
7674
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_topicpermissions.yaml

+3-5
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: topicpermissions.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -51,6 +51,8 @@ spec:
5151
type: string
5252
write:
5353
type: string
54+
required:
55+
- exchange
5456
type: object
5557
rabbitmqClusterReference:
5658
description: |-
@@ -70,9 +72,7 @@ spec:
7072
This field is effectively required, but due to backwards compatibility is
7173
allowed to be empty. Instances of this type with an empty value here are
7274
almost certainly wrong.
73-
TODO: Add other useful fields. apiVersion, kind, uid?
7475
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
75-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
7676
type: string
7777
type: object
7878
x-kubernetes-map-type: atomic
@@ -103,9 +103,7 @@ spec:
103103
This field is effectively required, but due to backwards compatibility is
104104
allowed to be empty. Instances of this type with an empty value here are
105105
almost certainly wrong.
106-
TODO: Add other useful fields. apiVersion, kind, uid?
107106
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
108-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
109107
type: string
110108
type: object
111109
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_users.yaml

+1-9
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: users.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -46,13 +46,11 @@ spec:
4646
Defines a Secret containing the credentials for the User. If this field is omitted, random a username and
4747
password will be generated. The Secret must have the following keys in its Data field:
4848
49-
5049
* `username` – Must be present or the import will fail.
5150
* `passwordHash` – The SHA-512 hash of the password. If the hash is an empty string, a passwordless user
5251
will be created. For more information, see https://www.rabbitmq.com/docs/passwords.
5352
* `password` – Plain-text password. Will be used only if the `passwordHash` key is missing.
5453
55-
5654
Note that this import only occurs at creation time, and is ignored once a password has been set on a User.
5755
properties:
5856
name:
@@ -62,9 +60,7 @@ spec:
6260
This field is effectively required, but due to backwards compatibility is
6361
allowed to be empty. Instances of this type with an empty value here are
6462
almost certainly wrong.
65-
TODO: Add other useful fields. apiVersion, kind, uid?
6663
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
67-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
6864
type: string
6965
type: object
7066
x-kubernetes-map-type: atomic
@@ -86,9 +82,7 @@ spec:
8682
This field is effectively required, but due to backwards compatibility is
8783
allowed to be empty. Instances of this type with an empty value here are
8884
almost certainly wrong.
89-
TODO: Add other useful fields. apiVersion, kind, uid?
9085
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
91-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
9286
type: string
9387
type: object
9488
x-kubernetes-map-type: atomic
@@ -164,9 +158,7 @@ spec:
164158
This field is effectively required, but due to backwards compatibility is
165159
allowed to be empty. Instances of this type with an empty value here are
166160
almost certainly wrong.
167-
TODO: Add other useful fields. apiVersion, kind, uid?
168161
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
169-
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
170162
type: string
171163
type: object
172164
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_vhosts.yaml

+1-3
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: vhosts.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

0 commit comments

Comments
 (0)