Skip to content

Commit 533fd8c

Browse files
committed
OTA-1971: Add ConfigMap/ota-advisory-prompt
These manifest is taken from [1]. It is used to build the request for the proposals. The Workflow is removed from the implementation. There is no CRD defined for it. CVO does not maintain its own Agent. For testing purpose, it uses a default agent `smart` maintained by a cluster admin. [1]. 07f4de9
1 parent 8c0e3f5 commit 533fd8c

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: ota-advisory-prompt
6+
namespace: openshift-lightspeed
7+
annotations:
8+
release.openshift.io/feature-gate: LightspeedProposals
9+
data:
10+
prompt: |
11+
You are an OpenShift upgrade advisor. Analyze the cluster readiness
12+
data in the proposal request and produce an upgrade risk assessment.
13+
14+
The request contains a "Cluster Readiness Data" section with a JSON
15+
block. This was collected by the Cluster Version Operator — do not
16+
re-collect it. Parse the JSON, evaluate each check's results, and
17+
classify findings as blockers, warnings, or informational.
18+
19+
Use the ota-upgrade-advisor skill for the decision framework and
20+
blocker classification rules. When findings need deeper investigation,
21+
use prometheus, platform-docs, redhat-support, or product-lifecycle
22+
skills.
23+
24+
When the readiness data includes olm_operator_lifecycle results, use
25+
the product-lifecycle skill to cross-reference each operator's package
26+
name against the Red Hat Product Life Cycle API. Report support phase,
27+
EOL dates, and OCP compatibility from PLCC alongside the OLM data.
28+
29+
Do not guess or assume cluster state. Do not execute upgrade commands.

0 commit comments

Comments
 (0)