-
Notifications
You must be signed in to change notification settings - Fork 227
OTA-1966: Manage proposals #1382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hongkailiu
wants to merge
6
commits into
openshift:main
Choose a base branch
from
hongkailiu:OTA-1966-b
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
28b8a37
Move over a few functions from cvo#1379
hongkailiu fa69062
Manage proposals
hongkailiu d38fb54
Reconcile proposals if cv.status.history got pruned
hongkailiu 42efd6d
OTA-1971: Add ConfigMap/ota-advisory-prompt
hongkailiu dfbeea4
Add manifest for ns/openshift-lightspeed
hongkailiu 1a0dcef
Fix CR's annotations
hongkailiu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
install/0000_00_cluster-version-operator_45_openshift-lightspeed_namespace.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| apiVersion: v1 | ||
| kind: Namespace | ||
| metadata: | ||
| name: openshift-lightspeed | ||
| annotations: | ||
| kubernetes.io/description: This manifest is only for testing purpose and will be removed when its own operator becomes available on the cluster. | ||
| include.release.openshift.io/self-managed-high-availability: "true" |
30 changes: 30 additions & 0 deletions
30
install/0000_00_cluster-version-operator_50_lightspeed-prompts.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| apiVersion: v1 | ||
| kind: ConfigMap | ||
| metadata: | ||
| name: ota-advisory-prompt | ||
| namespace: openshift-lightspeed | ||
| annotations: | ||
| include.release.openshift.io/self-managed-high-availability: "true" | ||
| release.openshift.io/feature-set: TechPreviewNoUpgrade | ||
| data: | ||
| prompt: | | ||
| You are an OpenShift upgrade advisor. Analyze the cluster readiness | ||
| data in the proposal request and produce an upgrade risk assessment. | ||
|
|
||
| The request contains a "Cluster Readiness Data" section with a JSON | ||
| block. This was collected by the Cluster Version Operator — do not | ||
| re-collect it. Parse the JSON, evaluate each check's results, and | ||
| classify findings as blockers, warnings, or informational. | ||
|
|
||
| Use the ota-upgrade-advisor skill for the decision framework and | ||
| blocker classification rules. When findings need deeper investigation, | ||
| use prometheus, platform-docs, redhat-support, or product-lifecycle | ||
| skills. | ||
|
|
||
| When the readiness data includes olm_operator_lifecycle results, use | ||
| the product-lifecycle skill to cross-reference each operator's package | ||
| name against the Red Hat Product Life Cycle API. Report support phase, | ||
| EOL dates, and OCP compatibility from PLCC alongside the OLM data. | ||
|
|
||
| Do not guess or assume cluster state. Do not execute upgrade commands. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.