Skip to content

Commit 088a3b8

Browse files
committed
🎨 Reformat the CRD via newer controller-gen.
1 parent d08d6c6 commit 088a3b8

File tree

1 file changed

+88
-23
lines changed

1 file changed

+88
-23
lines changed

‎config/crd/bases/migrations.coderanger.net_migrators.yaml

Lines changed: 88 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ spec:
2222
description: Migrator is the Schema for the migrators API
2323
properties:
2424
apiVersion:
25-
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
25+
description: 'APIVersion defines the versioned schema of this representation
26+
of an object. Servers should convert recognized schemas to the latest
27+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: 'Kind is a string value representing the REST resource this
31+
object represents. Servers may infer this from the endpoint the client
32+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
2933
type: string
3034
metadata:
3135
type: object
@@ -45,21 +49,34 @@ spec:
4549
image:
4650
type: string
4751
selector:
48-
description: A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
52+
description: A label selector is a label query over a set of resources.
53+
The result of matchLabels and matchExpressions are ANDed. An empty
54+
label selector matches all objects. A null label selector matches
55+
no objects.
4956
properties:
5057
matchExpressions:
51-
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
58+
description: matchExpressions is a list of label selector requirements.
59+
The requirements are ANDed.
5260
items:
53-
description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
61+
description: A label selector requirement is a selector that
62+
contains values, a key, and an operator that relates the key
63+
and values.
5464
properties:
5565
key:
56-
description: key is the label key that the selector applies to.
66+
description: key is the label key that the selector applies
67+
to.
5768
type: string
5869
operator:
59-
description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
70+
description: operator represents a key's relationship to
71+
a set of values. Valid operators are In, NotIn, Exists
72+
and DoesNotExist.
6073
type: string
6174
values:
62-
description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
75+
description: values is an array of string values. If the
76+
operator is In or NotIn, the values array must be non-empty.
77+
If the operator is Exists or DoesNotExist, the values
78+
array must be empty. This array is replaced during a strategic
79+
merge patch.
6380
items:
6481
type: string
6582
type: array
@@ -71,25 +88,42 @@ spec:
7188
matchLabels:
7289
additionalProperties:
7390
type: string
74-
description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
91+
description: matchLabels is a map of {key,value} pairs. A single
92+
{key,value} in the matchLabels map is equivalent to an element
93+
of matchExpressions, whose key field is "key", the operator
94+
is "In", and the values array contains only "value". The requirements
95+
are ANDed.
7596
type: object
7697
type: object
7798
templateSelector:
78-
description: A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
99+
description: A label selector is a label query over a set of resources.
100+
The result of matchLabels and matchExpressions are ANDed. An empty
101+
label selector matches all objects. A null label selector matches
102+
no objects.
79103
properties:
80104
matchExpressions:
81-
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
105+
description: matchExpressions is a list of label selector requirements.
106+
The requirements are ANDed.
82107
items:
83-
description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
108+
description: A label selector requirement is a selector that
109+
contains values, a key, and an operator that relates the key
110+
and values.
84111
properties:
85112
key:
86-
description: key is the label key that the selector applies to.
113+
description: key is the label key that the selector applies
114+
to.
87115
type: string
88116
operator:
89-
description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
117+
description: operator represents a key's relationship to
118+
a set of values. Valid operators are In, NotIn, Exists
119+
and DoesNotExist.
90120
type: string
91121
values:
92-
description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
122+
description: values is an array of string values. If the
123+
operator is In or NotIn, the values array must be non-empty.
124+
If the operator is Exists or DoesNotExist, the values
125+
array must be empty. This array is replaced during a strategic
126+
merge patch.
93127
items:
94128
type: string
95129
type: array
@@ -101,7 +135,11 @@ spec:
101135
matchLabels:
102136
additionalProperties:
103137
type: string
104-
description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
138+
description: matchLabels is a map of {key,value} pairs. A single
139+
{key,value} in the matchLabels map is equivalent to an element
140+
of matchExpressions, whose key field is "key", the operator
141+
is "In", and the values array contains only "value". The requirements
142+
are ANDed.
105143
type: object
106144
type: object
107145
required:
@@ -111,25 +149,48 @@ spec:
111149
description: MigratorStatus defines the observed state of Migrator
112150
properties:
113151
conditions:
114-
description: 'Represents the observations of a RabbitUsers''s current state. Known .status.conditions.type are: Ready, UserReady, PermissionsReady'
152+
description: 'Represents the observations of a RabbitUsers''s current
153+
state. Known .status.conditions.type are: Ready, UserReady, PermissionsReady'
115154
items:
116-
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
155+
description: "Condition contains details for one aspect of the current
156+
state of this API Resource. --- This struct is intended for direct
157+
use as an array at the field path .status.conditions. For example,
158+
type FooStatus struct{ // Represents the observations of a
159+
foo's current state. // Known .status.conditions.type are:
160+
\"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
161+
\ // +patchStrategy=merge // +listType=map // +listMapKey=type
162+
\ Conditions []metav1.Condition `json:\"conditions,omitempty\"
163+
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
164+
\n // other fields }"
117165
properties:
118166
lastTransitionTime:
119-
description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
167+
description: lastTransitionTime is the last time the condition
168+
transitioned from one status to another. This should be when
169+
the underlying condition changed. If that is not known, then
170+
using the time when the API field changed is acceptable.
120171
format: date-time
121172
type: string
122173
message:
123-
description: message is a human readable message indicating details about the transition. This may be an empty string.
174+
description: message is a human readable message indicating
175+
details about the transition. This may be an empty string.
124176
maxLength: 32768
125177
type: string
126178
observedGeneration:
127-
description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
179+
description: observedGeneration represents the .metadata.generation
180+
that the condition was set based upon. For instance, if .metadata.generation
181+
is currently 12, but the .status.conditions[x].observedGeneration
182+
is 9, the condition is out of date with respect to the current
183+
state of the instance.
128184
format: int64
129185
minimum: 0
130186
type: integer
131187
reason:
132-
description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
188+
description: reason contains a programmatic identifier indicating
189+
the reason for the condition's last transition. Producers
190+
of specific condition types may define expected values and
191+
meanings for this field, and whether the values are considered
192+
a guaranteed API. The value should be a CamelCase string.
193+
This field may not be empty.
133194
maxLength: 1024
134195
minLength: 1
135196
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
@@ -142,7 +203,11 @@ spec:
142203
- Unknown
143204
type: string
144205
type:
145-
description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
206+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
207+
--- Many .condition.type values are consistent across resources
208+
like Available, but because arbitrary conditions can be useful
209+
(see .node.status.conditions), the ability to deconflict is
210+
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
146211
maxLength: 316
147212
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
148213
type: string

0 commit comments

Comments
 (0)