Skip to content

Commit 88c89e1

Browse files
committed
Run make manifests
1 parent 3dca86f commit 88c89e1

File tree

3 files changed

+69
-21
lines changed

3 files changed

+69
-21
lines changed

config/base/operator-controller/crd/experimental/olm.operatorframework.io_clusterextensionrevisions.yaml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,40 +55,54 @@ spec:
5555
rule: oldSelf == 'Active' || oldSelf == 'Paused' || oldSelf == 'Archived'
5656
&& oldSelf == self
5757
phases:
58+
description: |-
59+
Phases are groups of objects that will be applied at the same time.
60+
All objects in the a phase will have to pass their probes in order to progress to the next phase.
5861
items:
62+
description: |-
63+
ClusterExtensionRevisionPhase are groups of objects that will be applied at the same time.
64+
All objects in the a phase will have to pass their probes in order to progress to the next phase.
5965
properties:
6066
name:
67+
description: Name identifies this phase.
68+
maxLength: 63
69+
pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$
6170
type: string
6271
objects:
72+
description: Objects are a list of all the objects within this
73+
phase.
6374
items:
75+
description: ClusterExtensionRevisionObject contains an object
76+
and settings for it.
6477
properties:
6578
collisionProtection:
6679
default: Prevent
67-
description: CollisionProtection specifies if and how
68-
ownership collisions are prevented.
80+
description: |-
81+
CollisionProtection controls whether OLM can adopt and modify objects
82+
already existing on the cluster or even owned by another controller.
6983
type: string
7084
object:
7185
type: object
7286
x-kubernetes-embedded-resource: true
7387
x-kubernetes-preserve-unknown-fields: true
7488
required:
75-
- collisionProtection
7689
- object
7790
type: object
7891
type: array
79-
slices:
80-
items:
81-
type: string
82-
type: array
8392
required:
8493
- name
8594
- objects
8695
type: object
8796
type: array
97+
x-kubernetes-list-map-keys:
98+
- name
99+
x-kubernetes-list-type: map
88100
x-kubernetes-validations:
89101
- message: phases is immutable
90102
rule: self == oldSelf || oldSelf.size() == 0
91103
previous:
104+
description: Previous references previous revisions that objects can
105+
be adopted from.
92106
items:
93107
properties:
94108
name:
@@ -108,6 +122,8 @@ spec:
108122
- message: previous is immutable
109123
rule: self == oldSelf
110124
revision:
125+
description: Revision number orders changes over time, must always
126+
be previous revision +1.
111127
format: int64
112128
type: integer
113129
x-kubernetes-validations:

manifests/experimental-e2e.yaml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -509,40 +509,54 @@ spec:
509509
rule: oldSelf == 'Active' || oldSelf == 'Paused' || oldSelf == 'Archived'
510510
&& oldSelf == self
511511
phases:
512+
description: |-
513+
Phases are groups of objects that will be applied at the same time.
514+
All objects in the a phase will have to pass their probes in order to progress to the next phase.
512515
items:
516+
description: |-
517+
ClusterExtensionRevisionPhase are groups of objects that will be applied at the same time.
518+
All objects in the a phase will have to pass their probes in order to progress to the next phase.
513519
properties:
514520
name:
521+
description: Name identifies this phase.
522+
maxLength: 63
523+
pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$
515524
type: string
516525
objects:
526+
description: Objects are a list of all the objects within this
527+
phase.
517528
items:
529+
description: ClusterExtensionRevisionObject contains an object
530+
and settings for it.
518531
properties:
519532
collisionProtection:
520533
default: Prevent
521-
description: CollisionProtection specifies if and how
522-
ownership collisions are prevented.
534+
description: |-
535+
CollisionProtection controls whether OLM can adopt and modify objects
536+
already existing on the cluster or even owned by another controller.
523537
type: string
524538
object:
525539
type: object
526540
x-kubernetes-embedded-resource: true
527541
x-kubernetes-preserve-unknown-fields: true
528542
required:
529-
- collisionProtection
530543
- object
531544
type: object
532545
type: array
533-
slices:
534-
items:
535-
type: string
536-
type: array
537546
required:
538547
- name
539548
- objects
540549
type: object
541550
type: array
551+
x-kubernetes-list-map-keys:
552+
- name
553+
x-kubernetes-list-type: map
542554
x-kubernetes-validations:
543555
- message: phases is immutable
544556
rule: self == oldSelf || oldSelf.size() == 0
545557
previous:
558+
description: Previous references previous revisions that objects can
559+
be adopted from.
546560
items:
547561
properties:
548562
name:
@@ -562,6 +576,8 @@ spec:
562576
- message: previous is immutable
563577
rule: self == oldSelf
564578
revision:
579+
description: Revision number orders changes over time, must always
580+
be previous revision +1.
565581
format: int64
566582
type: integer
567583
x-kubernetes-validations:

manifests/experimental.yaml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -509,40 +509,54 @@ spec:
509509
rule: oldSelf == 'Active' || oldSelf == 'Paused' || oldSelf == 'Archived'
510510
&& oldSelf == self
511511
phases:
512+
description: |-
513+
Phases are groups of objects that will be applied at the same time.
514+
All objects in the a phase will have to pass their probes in order to progress to the next phase.
512515
items:
516+
description: |-
517+
ClusterExtensionRevisionPhase are groups of objects that will be applied at the same time.
518+
All objects in the a phase will have to pass their probes in order to progress to the next phase.
513519
properties:
514520
name:
521+
description: Name identifies this phase.
522+
maxLength: 63
523+
pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$
515524
type: string
516525
objects:
526+
description: Objects are a list of all the objects within this
527+
phase.
517528
items:
529+
description: ClusterExtensionRevisionObject contains an object
530+
and settings for it.
518531
properties:
519532
collisionProtection:
520533
default: Prevent
521-
description: CollisionProtection specifies if and how
522-
ownership collisions are prevented.
534+
description: |-
535+
CollisionProtection controls whether OLM can adopt and modify objects
536+
already existing on the cluster or even owned by another controller.
523537
type: string
524538
object:
525539
type: object
526540
x-kubernetes-embedded-resource: true
527541
x-kubernetes-preserve-unknown-fields: true
528542
required:
529-
- collisionProtection
530543
- object
531544
type: object
532545
type: array
533-
slices:
534-
items:
535-
type: string
536-
type: array
537546
required:
538547
- name
539548
- objects
540549
type: object
541550
type: array
551+
x-kubernetes-list-map-keys:
552+
- name
553+
x-kubernetes-list-type: map
542554
x-kubernetes-validations:
543555
- message: phases is immutable
544556
rule: self == oldSelf || oldSelf.size() == 0
545557
previous:
558+
description: Previous references previous revisions that objects can
559+
be adopted from.
546560
items:
547561
properties:
548562
name:
@@ -562,6 +576,8 @@ spec:
562576
- message: previous is immutable
563577
rule: self == oldSelf
564578
revision:
579+
description: Revision number orders changes over time, must always
580+
be previous revision +1.
565581
format: int64
566582
type: integer
567583
x-kubernetes-validations:

0 commit comments

Comments
 (0)