1
-
2
1
---
3
2
apiVersion : apiextensions.k8s.io/v1
4
3
kind : CustomResourceDefinition
5
4
metadata :
6
5
annotations :
7
- controller-gen.kubebuilder.io/version : v0.4.1
6
+ controller-gen.kubebuilder.io/version : v0.10.0
8
7
creationTimestamp : null
9
8
name : groupconfigs.redhatcop.redhat.io
10
9
spec :
83
82
are ANDed.
84
83
type : object
85
84
type : object
85
+ x-kubernetes-map-type : atomic
86
86
labelSelector :
87
87
description : LabelSelector selects Groups by label.
88
88
properties :
@@ -127,6 +127,7 @@ spec:
127
127
are ANDed.
128
128
type : object
129
129
type : object
130
+ x-kubernetes-map-type : atomic
130
131
templates :
131
132
description : Templates these are the templates of the resources to
132
133
be created when a selected groups is created/updated
@@ -161,13 +162,12 @@ spec:
161
162
description : " Condition contains details for one aspect of the current
162
163
state of this API Resource. --- This struct is intended for direct
163
164
use as an array at the field path .status.conditions. For example,
164
- type FooStatus struct{ // Represents the observations of a
165
- foo's current state. // Known .status.conditions.type are:
166
- \" Available\" , \" Progressing\" , and \" Degraded\" // +patchMergeKey=type
167
- \ // +patchStrategy=merge // +listType=map // +listMapKey=type
168
- \ Conditions []metav1.Condition `json:\" conditions,omitempty\"
169
- patchStrategy:\" merge\" patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `
170
- \n // other fields }"
165
+ \n type FooStatus struct{ // Represents the observations of a
166
+ foo's current state. // Known .status.conditions.type are: \" Available\" ,
167
+ \" Progressing\" , and \" Degraded\" // +patchMergeKey=type // +patchStrategy=merge
168
+ // +listType=map // +listMapKey=type Conditions []metav1.Condition
169
+ `json:\" conditions,omitempty\" patchStrategy:\" merge\" patchMergeKey:\" type\"
170
+ protobuf:\" bytes,1,rep,name=conditions\" ` \n // other fields }"
171
171
properties :
172
172
lastTransitionTime :
173
173
description : lastTransitionTime is the last time the condition
@@ -230,75 +230,82 @@ spec:
230
230
x-kubernetes-list-type : map
231
231
lockedPatchStatuses :
232
232
additionalProperties :
233
- items :
234
- description : " Condition contains details for one aspect of the
235
- current state of this API Resource. --- This struct is intended
236
- for direct use as an array at the field path .status.conditions.
237
- \ For example, type FooStatus struct{ // Represents the
238
- observations of a foo's current state. // Known .status.conditions.type
239
- are: \" Available\" , \" Progressing\" , and \" Degraded\" //
240
- +patchMergeKey=type // +patchStrategy=merge // +listType=map
241
- \ // +listMapKey=type Conditions []metav1.Condition `json:\" conditions,omitempty\"
242
- patchStrategy:\" merge\" patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `
243
- \n // other fields }"
244
- properties :
245
- lastTransitionTime :
246
- description : lastTransitionTime is the last time the condition
247
- transitioned from one status to another. This should be
248
- when the underlying condition changed. If that is not known,
249
- then using the time when the API field changed is acceptable.
250
- format : date-time
251
- type : string
252
- message :
253
- description : message is a human readable message indicating
254
- details about the transition. This may be an empty string.
255
- maxLength : 32768
256
- type : string
257
- observedGeneration :
258
- description : observedGeneration represents the .metadata.generation
259
- that the condition was set based upon. For instance, if
260
- .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration
261
- is 9, the condition is out of date with respect to the current
262
- state of the instance.
263
- format : int64
264
- minimum : 0
265
- type : integer
266
- reason :
267
- description : reason contains a programmatic identifier indicating
268
- the reason for the condition's last transition. Producers
269
- of specific condition types may define expected values and
270
- meanings for this field, and whether the values are considered
271
- a guaranteed API. The value should be a CamelCase string.
272
- This field may not be empty.
273
- maxLength : 1024
274
- minLength : 1
275
- pattern : ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
276
- type : string
277
- status :
278
- description : status of the condition, one of True, False,
279
- Unknown.
280
- enum :
281
- - " True"
282
- - " False"
283
- - Unknown
284
- type : string
285
- type :
286
- description : type of condition in CamelCase or in foo.example.com/CamelCase.
287
- --- Many .condition.type values are consistent across resources
288
- like Available, but because arbitrary conditions can be
289
- useful (see .node.status.conditions), the ability to deconflict
290
- is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
291
- maxLength : 316
292
- 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])$
293
- type : string
294
- required :
295
- - lastTransitionTime
296
- - message
297
- - reason
298
- - status
233
+ additionalProperties :
234
+ items :
235
+ description : " Condition contains details for one aspect of the
236
+ current state of this API Resource. --- This struct is intended
237
+ for direct use as an array at the field path .status.conditions.
238
+ \ For example, \n type FooStatus struct{ // Represents the
239
+ observations of a foo's current state. // Known .status.conditions.type
240
+ are: \" Available\" , \" Progressing\" , and \" Degraded\" // +patchMergeKey=type
241
+ // +patchStrategy=merge // +listType=map // +listMapKey=type
242
+ Conditions []metav1.Condition `json:\" conditions,omitempty\"
243
+ patchStrategy:\" merge\" patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `
244
+ \n // other fields }"
245
+ properties :
246
+ lastTransitionTime :
247
+ description : lastTransitionTime is the last time the condition
248
+ transitioned from one status to another. This should be
249
+ when the underlying condition changed. If that is not
250
+ known, then using the time when the API field changed
251
+ is acceptable.
252
+ format : date-time
253
+ type : string
254
+ message :
255
+ description : message is a human readable message indicating
256
+ details about the transition. This may be an empty string.
257
+ maxLength : 32768
258
+ type : string
259
+ observedGeneration :
260
+ description : observedGeneration represents the .metadata.generation
261
+ that the condition was set based upon. For instance, if
262
+ .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration
263
+ is 9, the condition is out of date with respect to the
264
+ current state of the instance.
265
+ format : int64
266
+ minimum : 0
267
+ type : integer
268
+ reason :
269
+ description : reason contains a programmatic identifier indicating
270
+ the reason for the condition's last transition. Producers
271
+ of specific condition types may define expected values
272
+ and meanings for this field, and whether the values are
273
+ considered a guaranteed API. The value should be a CamelCase
274
+ string. This field may not be empty.
275
+ maxLength : 1024
276
+ minLength : 1
277
+ pattern : ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
278
+ type : string
279
+ status :
280
+ description : status of the condition, one of True, False,
281
+ Unknown.
282
+ enum :
283
+ - " True"
284
+ - " False"
285
+ - Unknown
286
+ type : string
287
+ type :
288
+ description : type of condition in CamelCase or in foo.example.com/CamelCase.
289
+ --- Many .condition.type values are consistent across
290
+ resources like Available, but because arbitrary conditions
291
+ can be useful (see .node.status.conditions), the ability
292
+ to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
293
+ maxLength : 316
294
+ 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])$
295
+ type : string
296
+ required :
297
+ - lastTransitionTime
298
+ - message
299
+ - reason
300
+ - status
301
+ - type
302
+ type : object
303
+ type : array
304
+ x-kubernetes-list-map-keys :
299
305
- type
300
- type : object
301
- type : array
306
+ x-kubernetes-list-type : map
307
+ type : object
308
+ x-kubernetes-map-type : granular
302
309
description : LockedResourceStatuses contains the reconcile status
303
310
for each of the managed resources
304
311
type : object
@@ -308,13 +315,13 @@ spec:
308
315
description : " Condition contains details for one aspect of the
309
316
current state of this API Resource. --- This struct is intended
310
317
for direct use as an array at the field path .status.conditions.
311
- \ For example, type FooStatus struct{ // Represents the
312
- observations of a foo's current state. // Known .status.conditions.type
313
- are: \" Available\" , \" Progressing\" , and \" Degraded\" //
314
- +patchMergeKey=type // +patchStrategy=merge // +listType=map
315
- \ // +listMapKey=type Conditions []metav1.Condition `json:\" conditions,omitempty\"
318
+ \ For example, \n type FooStatus struct{ // Represents the observations
319
+ of a foo's current state. // Known .status.conditions.type are:
320
+ \" Available\" , \" Progressing\" , and \" Degraded\" // +patchMergeKey=type
321
+ // +patchStrategy=merge // +listType=map // +listMapKey=type
322
+ Conditions []metav1.Condition `json:\" conditions,omitempty\"
316
323
patchStrategy:\" merge\" patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `
317
- \n // other fields }"
324
+ \n // other fields }"
318
325
properties :
319
326
lastTransitionTime :
320
327
description : lastTransitionTime is the last time the condition
@@ -373,6 +380,9 @@ spec:
373
380
- type
374
381
type : object
375
382
type : array
383
+ x-kubernetes-list-map-keys :
384
+ - type
385
+ x-kubernetes-list-type : map
376
386
description : LockedResourceStatuses contains the reconcile status
377
387
for each of the managed resources
378
388
type : object
@@ -382,9 +392,3 @@ spec:
382
392
storage : true
383
393
subresources :
384
394
status : {}
385
- status :
386
- acceptedNames :
387
- kind : " "
388
- plural : " "
389
- conditions : []
390
- storedVersions : []
0 commit comments