@@ -32,167 +32,167 @@ spec:
3232 minItems : 1
3333 items :
3434 oneOf :
35- - type : object
36- description : Overall upgrade readiness summary with per-check results.
37- properties :
38- type :
39- type : string
40- const : ota_readiness_summary
41- decision :
42- type : string
43- enum : ["recommend", "caution", "block", "escalate"]
44- description : >-
45- "recommend" when all checks pass with no warnings.
46- "caution" when warnings exist but no blockers.
47- "block" when blockers must be resolved first.
48- "escalate" when data is insufficient for a confident assessment.
49- checks :
50- type : array
51- description : One entry per readiness check from the input JSON.
52- items :
53- type : object
54- properties :
55- name :
56- type : string
57- description : >-
58- Human-readable check name, e.g. "Cluster Conditions",
59- "Operator Health", "etcd Health"
60- status :
61- type : string
62- enum : ["pass", "warn", "fail", "error"]
63- description : >-
64- "pass" if no issues. "warn" if non-blocking concerns.
65- "fail" if blockers found. "error" if the check itself
66- could not complete.
67- detail :
68- type : string
69- description : >-
70- Brief one-line summary, e.g. "All 34 operators healthy",
71- "2 operators Degraded=True"
72- required : ["name", "status"]
73- required : ["type", "decision", "checks"]
74- - type : object
75- description : A specific blocker, warning, or informational finding.
76- properties :
77- type :
78- type : string
79- const : ota_finding
80- severity :
81- type : string
82- enum : ["blocker", "warning", "info"]
83- check :
84- type : string
85- description : >-
86- Which readiness check surfaced this, e.g. "operator_health",
87- "api_deprecations", "etcd_health"
88- detail :
89- type : string
90- description : >-
91- Clear description for a cluster administrator, e.g.
92- "ClusterOperator 'dns' reports Degraded=True: DNS pod
93- CrashLoopBackOff on worker-2"
94- affectedResources :
95- type : array
96- items :
35+ - type : object
36+ description : Overall upgrade readiness summary with per-check results.
37+ properties :
38+ type :
9739 type : string
98- description : >-
99- Affected resources in namespace/name format, e.g.
100- "openshift-dns/dns-default". Omit if not applicable.
101- prerequisite :
102- type : string
103- description : >-
104- Action to resolve this before upgrading, e.g. "Investigate
105- and resolve DNS pod crash on worker-2"
106- verifyCommand :
107- type : string
108- description : >-
109- Command to verify the finding is resolved, e.g.
110- "oc get co dns -o jsonpath='{.status.conditions[?(@.type==\"Degraded\")].status}'"
111- required : ["type", "severity", "check", "detail"]
112- - type : object
113- description : Per-operator OLM lifecycle status for the operator update planner.
114- properties :
115- type :
116- type : string
117- const : ota_olm_operator_status
118- operators :
119- type : array
120- description : One entry per OLM-managed operator (Subscription).
121- items :
122- type : object
123- properties :
124- name :
125- type : string
126- description : Subscription name
127- namespace :
128- type : string
129- displayName :
130- type : string
131- description : Human-readable name from the CSV
132- installedVersion :
133- type : string
134- channel :
135- type : string
136- source :
137- type : string
138- description : CatalogSource name
139- installPlanApproval :
140- type : string
141- enum : ["Automatic", "Manual"]
142- pendingUpgrade :
143- type : boolean
144- pendingVersion :
145- type : string
146- compatibleWithTarget :
147- type : boolean
148- description : >-
149- false when olm.maxOpenShiftVersion is less than the
150- target OCP version
151- availableChannels :
152- type : array
153- items :
40+ const : ota_readiness_summary
41+ decision :
42+ type : string
43+ enum : ["recommend", "caution", "block", "escalate"]
44+ description : >-
45+ "recommend" when all checks pass with no warnings.
46+ "caution" when warnings exist but no blockers.
47+ "block" when blockers must be resolved first.
48+ "escalate" when data is insufficient for a confident assessment.
49+ checks :
50+ type : array
51+ description : One entry per readiness check from the input JSON.
52+ items :
53+ type : object
54+ properties :
55+ name :
15456 type : string
155- ocpCompat :
156- type : object
157- properties :
158- min :
159- type : string
160- max :
161- type : string
162- lifecycle :
163- type : object
164- description : >-
165- Red Hat Product Life Cycle (PLCC) data for this operator,
166- if available. Populated by querying the PLCC API using
167- the operator's package name.
168- properties :
169- productName :
170- type : string
171- description : PLCC product name
172- supportPhase :
173- type : string
174- enum : ["Full Support", "Maintenance Support", "End of life"]
175- description : Current support status from PLCC
176- ocpVersions :
177- type : string
178- description : >-
179- OCP versions this product version is compatible with,
180- e.g. "4.19, 4.20, 4.21"
181- maintenanceEnds :
57+ description : >-
58+ Human-readable check name, e.g. "Cluster Conditions",
59+ "Operator Health", "etcd Health"
60+ status :
61+ type : string
62+ enum : ["pass", "warn", "fail", "error"]
63+ description : >-
64+ "pass" if no issues. "warn" if non-blocking concerns.
65+ "fail" if blockers found. "error" if the check itself
66+ could not complete.
67+ detail :
68+ type : string
69+ description : >-
70+ Brief one-line summary, e.g. "All 34 operators healthy",
71+ "2 operators Degraded=True"
72+ required : ["name", "status"]
73+ required : ["type", "decision", "checks"]
74+ - type : object
75+ description : A specific blocker, warning, or informational finding.
76+ properties :
77+ type :
78+ type : string
79+ const : ota_finding
80+ severity :
81+ type : string
82+ enum : ["blocker", "warning", "info"]
83+ check :
84+ type : string
85+ description : >-
86+ Which readiness check surfaced this, e.g. "operator_health",
87+ "api_deprecations", "etcd_health"
88+ detail :
89+ type : string
90+ description : >-
91+ Clear description for a cluster administrator, e.g.
92+ "ClusterOperator 'dns' reports Degraded=True: DNS pod
93+ CrashLoopBackOff on worker-2"
94+ affectedResources :
95+ type : array
96+ items :
97+ type : string
98+ description : >-
99+ Affected resources in namespace/name format, e.g.
100+ "openshift-dns/dns-default". Omit if not applicable.
101+ prerequisite :
102+ type : string
103+ description : >-
104+ Action to resolve this before upgrading, e.g. "Investigate
105+ and resolve DNS pod crash on worker-2"
106+ verifyCommand :
107+ type : string
108+ description : >-
109+ Command to verify the finding is resolved, e.g.
110+ "oc get co dns -o jsonpath='{.status.conditions[?(@.type==\"Degraded\")].status}'"
111+ required : ["type", "severity", "check", "detail"]
112+ - type : object
113+ description : Per-operator OLM lifecycle status for the operator update planner.
114+ properties :
115+ type :
116+ type : string
117+ const : ota_olm_operator_status
118+ operators :
119+ type : array
120+ description : One entry per OLM-managed operator (Subscription).
121+ items :
122+ type : object
123+ properties :
124+ name :
125+ type : string
126+ description : Subscription name
127+ namespace :
128+ type : string
129+ displayName :
130+ type : string
131+ description : Human-readable name from the CSV
132+ installedVersion :
133+ type : string
134+ channel :
135+ type : string
136+ source :
137+ type : string
138+ description : CatalogSource name
139+ installPlanApproval :
140+ type : string
141+ enum : ["Automatic", "Manual"]
142+ pendingUpgrade :
143+ type : boolean
144+ pendingVersion :
145+ type : string
146+ compatibleWithTarget :
147+ type : boolean
148+ description : >-
149+ false when olm.maxOpenShiftVersion is less than the
150+ target OCP version
151+ availableChannels :
152+ type : array
153+ items :
182154 type : string
183- description : >-
184- Maintenance support end date (ISO 8601 or descriptive
185- string), e.g. "2027-04-21T00:00:00.000Z"
186- required : ["name", "namespace"]
187- summary :
188- type : object
189- properties :
190- totalOperators :
191- type : integer
192- pendingUpgrades :
193- type : integer
194- manualApproval :
195- type : integer
196- incompatibleWithTarget :
197- type : integer
198- required : ["type", "operators", "summary"]
155+ ocpCompat :
156+ type : object
157+ properties :
158+ min :
159+ type : string
160+ max :
161+ type : string
162+ lifecycle :
163+ type : object
164+ description : >-
165+ Red Hat Product Life Cycle (PLCC) data for this operator,
166+ if available. Populated by querying the PLCC API using
167+ the operator's package name.
168+ properties :
169+ productName :
170+ type : string
171+ description : PLCC product name
172+ supportPhase :
173+ type : string
174+ enum : ["Full Support", "Maintenance Support", "End of life"]
175+ description : Current support status from PLCC
176+ ocpVersions :
177+ type : string
178+ description : >-
179+ OCP versions this product version is compatible with,
180+ e.g. "4.19, 4.20, 4.21"
181+ maintenanceEnds :
182+ type : string
183+ description : >-
184+ Maintenance support end date (ISO 8601 or descriptive
185+ string), e.g. "2027-04-21T00:00:00.000Z"
186+ required : ["name", "namespace"]
187+ summary :
188+ type : object
189+ properties :
190+ totalOperators :
191+ type : integer
192+ pendingUpgrades :
193+ type : integer
194+ manualApproval :
195+ type : integer
196+ incompatibleWithTarget :
197+ type : integer
198+ required : ["type", "operators", "summary"]
0 commit comments