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
// +kubebuilder:validation:XValidation:rule=`!format.dns1123Label().validate(self).hasValue()`,message="the value must consist of only lowercase alphanumeric characters and hyphens, and must start with an alphabetic character and end with an alphanumeric character."
130
139
Namestring`json:"name"`
131
140
132
141
// objects is a required list of all Kubernetes objects that belong to this phase.
133
142
//
134
-
// All objects in this list are applied to the cluster in no particular order.
143
+
// All objects in this list are applied to the cluster in no particular order. The maximum number of objects per phase is 50.
Copy file name to clipboardExpand all lines: helm/olmv1/base/operator-controller/crd/experimental/olm.operatorframework.io_clusterextensionrevisions.yaml
+21-6Lines changed: 21 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -57,16 +57,19 @@ spec:
57
57
description: spec defines the desired state of the ClusterExtensionRevision.
58
58
properties:
59
59
lifecycleState:
60
-
default: Active
61
60
description: |-
62
61
lifecycleState specifies the lifecycle state of the ClusterExtensionRevision.
63
62
64
-
When set to "Active" (the default), the revision is actively managed and reconciled.
63
+
When set to "Active", the revision is actively managed and reconciled.
65
64
When set to "Archived", the revision is inactive and any resources not managed by a subsequent revision are deleted.
66
65
The revision is removed from the owner list of all objects previously under management.
67
66
All objects that did not transition to a succeeding revision are deleted.
68
67
69
68
Once a revision is set to "Archived", it cannot be un-archived.
69
+
70
+
It is possible for more than one revision to be "Active" simultaneously. This will occur when
71
+
moving from one revision to another. The old revision will not be set to "Archived" until the
72
+
new revision has been completely rolled out.
70
73
enum:
71
74
- Active
72
75
- Archived
@@ -92,6 +95,8 @@ spec:
92
95
The revision progresses to the next phase only after all objects in the current phase pass their readiness probes.
93
96
94
97
Once set, even if empty, the phases field is immutable.
98
+
99
+
Each phase in the list must have a unique name. The maximum number of phases is 20.
95
100
items:
96
101
description: |-
97
102
ClusterExtensionRevisionPhase represents a group of objects that are applied together. The phase is considered
@@ -109,25 +114,31 @@ spec:
109
114
110
115
[RFC 1123]: https://tools.ietf.org/html/rfc1123
111
116
maxLength: 63
112
-
pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$
117
+
minLength: 1
113
118
type: string
119
+
x-kubernetes-validations:
120
+
- message: the value must consist of only lowercase alphanumeric
121
+
characters and hyphens, and must start with an alphabetic
0 commit comments