Skip to content

Commit 1bf4ff7

Browse files
authored
Merge pull request #831 from rabbitmq/chore/update-crd-controller-gen
Update CRDs with new version of controller-gen
2 parents f6f3b41 + 703e88c commit 1bf4ff7

13 files changed

+133
-33
lines changed

config/crd/bases/rabbitmq.com_bindings.yaml

Lines changed: 7 additions & 2 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: bindings.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -66,10 +66,15 @@ spec:
6666
Have to set either name or connectionSecret, but not both.
6767
properties:
6868
name:
69+
default: ""
6970
description: |-
7071
Name of the referent.
71-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
72+
This field is effectively required, but due to backwards compatibility is
73+
allowed to be empty. Instances of this type with an empty value here are
74+
almost certainly wrong.
7275
TODO: Add other useful fields. apiVersion, kind, uid?
76+
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.
7378
type: string
7479
type: object
7580
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_exchanges.yaml

Lines changed: 7 additions & 2 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: exchanges.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -65,10 +65,15 @@ spec:
6565
Have to set either name or connectionSecret, but not both.
6666
properties:
6767
name:
68+
default: ""
6869
description: |-
6970
Name of the referent.
70-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
71+
This field is effectively required, but due to backwards compatibility is
72+
allowed to be empty. Instances of this type with an empty value here are
73+
almost certainly wrong.
7174
TODO: Add other useful fields. apiVersion, kind, uid?
75+
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.
7277
type: string
7378
type: object
7479
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_federations.yaml

Lines changed: 13 additions & 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: federations.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -76,10 +76,15 @@ spec:
7676
Have to set either name or connectionSecret, but not both.
7777
properties:
7878
name:
79+
default: ""
7980
description: |-
8081
Name of the referent.
81-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
82+
This field is effectively required, but due to backwards compatibility is
83+
allowed to be empty. Instances of this type with an empty value here are
84+
almost certainly wrong.
8285
TODO: Add other useful fields. apiVersion, kind, uid?
86+
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.
8388
type: string
8489
type: object
8590
x-kubernetes-map-type: atomic
@@ -106,10 +111,15 @@ spec:
106111
Required property.
107112
properties:
108113
name:
114+
default: ""
109115
description: |-
110116
Name of the referent.
111-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
117+
This field is effectively required, but due to backwards compatibility is
118+
allowed to be empty. Instances of this type with an empty value here are
119+
almost certainly wrong.
112120
TODO: Add other useful fields. apiVersion, kind, uid?
121+
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.
113123
type: string
114124
type: object
115125
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_operatorpolicies.yaml

Lines changed: 7 additions & 2 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: operatorpolicies.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -84,10 +84,15 @@ spec:
8484
Have to set either name or connectionSecret, but not both.
8585
properties:
8686
name:
87+
default: ""
8788
description: |-
8889
Name of the referent.
89-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
90+
This field is effectively required, but due to backwards compatibility is
91+
allowed to be empty. Instances of this type with an empty value here are
92+
almost certainly wrong.
9093
TODO: Add other useful fields. apiVersion, kind, uid?
94+
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.
9196
type: string
9297
type: object
9398
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_permissions.yaml

Lines changed: 13 additions & 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: permissions.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -65,10 +65,15 @@ spec:
6565
Have to set either name or connectionSecret, but not both.
6666
properties:
6767
name:
68+
default: ""
6869
description: |-
6970
Name of the referent.
70-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
71+
This field is effectively required, but due to backwards compatibility is
72+
allowed to be empty. Instances of this type with an empty value here are
73+
almost certainly wrong.
7174
TODO: Add other useful fields. apiVersion, kind, uid?
75+
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.
7277
type: string
7378
type: object
7479
x-kubernetes-map-type: atomic
@@ -93,10 +98,15 @@ spec:
9398
be updated
9499
properties:
95100
name:
101+
default: ""
96102
description: |-
97103
Name of the referent.
98-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
104+
This field is effectively required, but due to backwards compatibility is
105+
allowed to be empty. Instances of this type with an empty value here are
106+
almost certainly wrong.
99107
TODO: Add other useful fields. apiVersion, kind, uid?
108+
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.
100110
type: string
101111
type: object
102112
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_policies.yaml

Lines changed: 7 additions & 2 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: policies.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -86,10 +86,15 @@ spec:
8686
Have to set either name or connectionSecret, but not both.
8787
properties:
8888
name:
89+
default: ""
8990
description: |-
9091
Name of the referent.
91-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
92+
This field is effectively required, but due to backwards compatibility is
93+
allowed to be empty. Instances of this type with an empty value here are
94+
almost certainly wrong.
9295
TODO: Add other useful fields. apiVersion, kind, uid?
96+
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.
9398
type: string
9499
type: object
95100
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_queues.yaml

Lines changed: 7 additions & 2 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: queues.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -76,10 +76,15 @@ spec:
7676
Have to set either name or connectionSecret, but not both.
7777
properties:
7878
name:
79+
default: ""
7980
description: |-
8081
Name of the referent.
81-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
82+
This field is effectively required, but due to backwards compatibility is
83+
allowed to be empty. Instances of this type with an empty value here are
84+
almost certainly wrong.
8285
TODO: Add other useful fields. apiVersion, kind, uid?
86+
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.
8388
type: string
8489
type: object
8590
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_schemareplications.yaml

Lines changed: 13 additions & 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: schemareplications.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -60,10 +60,15 @@ spec:
6060
Have to set either name or connectionSecret, but not both.
6161
properties:
6262
name:
63+
default: ""
6364
description: |-
6465
Name of the referent.
65-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
66+
This field is effectively required, but due to backwards compatibility is
67+
allowed to be empty. Instances of this type with an empty value here are
68+
almost certainly wrong.
6669
TODO: Add other useful fields. apiVersion, kind, uid?
70+
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.
6772
type: string
6873
type: object
6974
x-kubernetes-map-type: atomic
@@ -100,10 +105,15 @@ spec:
100105
Have to set either secretBackend.vault.secretPath or spec.upstreamSecret, but not both.
101106
properties:
102107
name:
108+
default: ""
103109
description: |-
104110
Name of the referent.
105-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
111+
This field is effectively required, but due to backwards compatibility is
112+
allowed to be empty. Instances of this type with an empty value here are
113+
almost certainly wrong.
106114
TODO: Add other useful fields. apiVersion, kind, uid?
115+
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.
107117
type: string
108118
type: object
109119
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_shovels.yaml

Lines changed: 13 additions & 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: shovels.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -107,10 +107,15 @@ spec:
107107
Have to set either name or connectionSecret, but not both.
108108
properties:
109109
name:
110+
default: ""
110111
description: |-
111112
Name of the referent.
112-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
113+
This field is effectively required, but due to backwards compatibility is
114+
allowed to be empty. Instances of this type with an empty value here are
115+
almost certainly wrong.
113116
TODO: Add other useful fields. apiVersion, kind, uid?
117+
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.
114119
type: string
115120
type: object
116121
x-kubernetes-map-type: atomic
@@ -160,10 +165,15 @@ spec:
160165
Required property.
161166
properties:
162167
name:
168+
default: ""
163169
description: |-
164170
Name of the referent.
165-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
171+
This field is effectively required, but due to backwards compatibility is
172+
allowed to be empty. Instances of this type with an empty value here are
173+
almost certainly wrong.
166174
TODO: Add other useful fields. apiVersion, kind, uid?
175+
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.
167177
type: string
168178
type: object
169179
x-kubernetes-map-type: atomic

config/crd/bases/rabbitmq.com_superstreams.yaml

Lines changed: 7 additions & 2 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.14.0
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: superstreams.rabbitmq.com
88
spec:
99
group: rabbitmq.com
@@ -62,10 +62,15 @@ spec:
6262
Have to set either name or connectionSecret, but not both.
6363
properties:
6464
name:
65+
default: ""
6566
description: |-
6667
Name of the referent.
67-
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
68+
This field is effectively required, but due to backwards compatibility is
69+
allowed to be empty. Instances of this type with an empty value here are
70+
almost certainly wrong.
6871
TODO: Add other useful fields. apiVersion, kind, uid?
72+
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.
6974
type: string
7075
type: object
7176
x-kubernetes-map-type: atomic

0 commit comments

Comments
 (0)