You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/v1/zz_generated.featuregated-crd-manifests/clusterversions.config.openshift.io/ImageStreamImportMode.yaml
+110-4Lines changed: 110 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,14 @@ spec:
156
156
the previous version will cause a rollback to be attempted. Not all
157
157
rollbacks will succeed.
158
158
properties:
159
+
accept:
160
+
description: |-
161
+
accept allows an administrator to specify the names of ConditionalUpdateRisk
162
+
those are considered acceptable. A conditional update is accepted by Cluster-Version
163
+
operator only if all of its risks are acceptable.
164
+
items:
165
+
type: string
166
+
type: array
159
167
architecture:
160
168
description: |-
161
169
architecture is an optional field that indicates the desired
@@ -373,6 +381,92 @@ spec:
373
381
type: array
374
382
x-kubernetes-list-type: atomic
375
383
type: object
384
+
conditionalUpdateRisks:
385
+
description: |-
386
+
conditionalUpdateRisks represent issues for ConditionalUpdates.
387
+
The cluster-version operator will evaluate all risks associated to a conditional
388
+
update when it is the desired update and only accept it if all its associated
389
+
risks are in "spec.desiredUpdate.accept".
390
+
items:
391
+
description: |-
392
+
ConditionalUpdateRisk represents a reason and cluster-state
393
+
for not recommending a conditional update.
394
+
properties:
395
+
matchingRules:
396
+
description: |-
397
+
matchingRules is a slice of conditions for deciding which
398
+
clusters match the risk and which do not. The slice is
399
+
ordered by decreasing precedence. The cluster-version
400
+
operator will walk the slice in order, and stop after the
401
+
first it can successfully evaluate. If no condition can be
402
+
successfully evaluated, the update will not be recommended.
403
+
items:
404
+
description: |-
405
+
ClusterCondition is a union of typed cluster conditions. The 'type'
406
+
property determines which of the type-specific properties are relevant.
407
+
When evaluated on a cluster, the condition may match, not match, or
408
+
fail to evaluate.
409
+
properties:
410
+
promql:
411
+
description: promql represents a cluster condition based
412
+
on PromQL.
413
+
properties:
414
+
promql:
415
+
description: |-
416
+
promql is a PromQL query classifying clusters. This query
417
+
query should return a 1 in the match case and a 0 in the
418
+
does-not-match case. Queries which return no time
419
+
series, or which return values besides 0 or 1, are
420
+
evaluation failures.
421
+
type: string
422
+
required:
423
+
- promql
424
+
type: object
425
+
type:
426
+
description: |-
427
+
type represents the cluster-condition type. This defines
428
+
the members and semantics of any additional properties.
429
+
enum:
430
+
- Always
431
+
- PromQL
432
+
type: string
433
+
required:
434
+
- type
435
+
type: object
436
+
minItems: 1
437
+
type: array
438
+
x-kubernetes-list-type: atomic
439
+
message:
440
+
description: |-
441
+
message provides additional information about the risk of
442
+
updating, in the event that matchingRules match the cluster
443
+
state. This is only to be consumed by humans. It may
444
+
contain Line Feed characters (U+000A), which should be
445
+
rendered as new lines.
446
+
minLength: 1
447
+
type: string
448
+
name:
449
+
description: |-
450
+
name is the CamelCase reason for not recommending a
451
+
conditional update, in the event that matchingRules match the
452
+
cluster state.
453
+
minLength: 1
454
+
type: string
455
+
url:
456
+
description: url contains information about this risk.
457
+
format: uri
458
+
minLength: 1
459
+
type: string
460
+
required:
461
+
- matchingRules
462
+
- message
463
+
- name
464
+
- url
465
+
type: object
466
+
type: array
467
+
x-kubernetes-list-map-keys:
468
+
- name
469
+
x-kubernetes-list-type: map
376
470
conditionalUpdates:
377
471
description: |-
378
472
conditionalUpdates contains the list of updates that may be
@@ -497,13 +591,23 @@ spec:
497
591
- image
498
592
- version
499
593
type: object
594
+
riskNames:
595
+
description: |-
596
+
riskNames are names of status.conditionalUpdateRisks
597
+
that are associated with the release in a ConditionalUpdate
598
+
items:
599
+
type: string
600
+
minItems: 1
601
+
type: array
602
+
x-kubernetes-list-type: set
500
603
risks:
501
604
description: |-
502
-
risks represents the range of issues associated with
605
+
risks represent the range of issues associated with
503
606
updating to the target release. The cluster-version
504
607
operator will evaluate all entries, and only recommend the
505
608
update if there is at least one entry and all entries
506
609
recommend the update.
610
+
DEPRECATED: the risks has been deprecated by riskNames and will be removed in a future release.
507
611
items:
508
612
description: |-
509
613
ConditionalUpdateRisk represents a reason and cluster-state
@@ -587,6 +691,7 @@ spec:
587
691
x-kubernetes-list-type: map
588
692
required:
589
693
- release
694
+
- riskNames
590
695
- risks
591
696
type: object
592
697
type: array
@@ -698,10 +803,11 @@ spec:
698
803
acceptedRisks:
699
804
description: |-
700
805
acceptedRisks records risks which were accepted to initiate the update.
701
-
For example, it may menition an Upgradeable=False or missing signature
702
-
that was overriden via desiredUpdate.force, or an update that was
806
+
For example, it may mention an Upgradeable=False or missing signature
807
+
that was overridden via desiredUpdate.force, or an update that was
703
808
initiated despite not being in the availableUpdates set of recommended
704
-
update targets.
809
+
update targets, or in the conditionUpdates set and all associated risks
0 commit comments