OTA-1966: Install namespace/openshift-lightspeed only when TechPreview is enabled#1394
OTA-1966: Install namespace/openshift-lightspeed only when TechPreview is enabled#1394hongkailiu wants to merge 2 commits into
Conversation
|
@hongkailiu: This pull request references OTA-1966 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughThe OpenShift Lightspeed namespace manifest updates its annotations (adds release.openshift.io/feature-set: TechPreviewNoUpgrade and revises removal/install wording). A ConfigMap metadata.name was renamed from ChangesLightspeed install manifests and controller
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 10 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
1e07189 to
4080e53
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@install/0000_00_cluster-version-operator_45_openshift-lightspeed_namespace.yaml`:
- Line 6: Update the kubernetes.io/description annotation in the
openshift-lightspeed Namespace manifest to replace the stale ConfigMap name
"ota-advisory-prompt" with the new name "cluster-update-advisory-prompt" (edit
the string in the description text in
install/0000_00_cluster-version-operator_45_openshift-lightspeed_namespace.yaml),
ensuring the annotation still explains the resource purpose per guidelines.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 1d13af9b-cb76-470f-b4e6-3c1b2c98e4b1
📒 Files selected for processing (2)
install/0000_00_cluster-version-operator_45_openshift-lightspeed_namespace.yamlinstall/0000_00_cluster-version-operator_50_lightspeed-prompts.yaml
I forgot to do this in openshift#1382. The feature of creating proposals is [enabled only on TP clusters](https://github.com/openshift/cluster-version-operator/blob/fa129da3b3cba865873715ec88a0fafde98f6585/pkg/cvo/cvo.go#L1215-L1219). The namespace is only for testing that feature. Installing it only on TP clusters is to keep the damage away from any production clusters. The renaming of ConfigMap from `ota-advisory-prompt` to `cluster-update-advisory-prompt` is to avoid using an obsolete team name.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@install/0000_00_cluster-version-operator_50_lightspeed-prompts.yaml`:
- Line 5: The ConfigMap name in the manifest was changed to
cluster-update-advisory-prompt but the controller still defaults PromptConfigMap
to ota-advisory-prompt, causing runtime lookup failures; update the controller's
default PromptConfigMap constant/field (named PromptConfigMap) or the
environment default it reads so it matches cluster-update-advisory-prompt (or
alternatively revert the manifest name to ota-advisory-prompt), and ensure any
places that construct/load the prompt (the code paths that reference
PromptConfigMap) and any environment variable references are updated to use the
same ConfigMap name.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: f78b3442-52ad-469a-95a8-43180916bdba
📒 Files selected for processing (2)
install/0000_00_cluster-version-operator_45_openshift-lightspeed_namespace.yamlinstall/0000_00_cluster-version-operator_50_lightspeed-prompts.yaml
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hongkailiu, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/label acknowledge-critical-fixes-only |
|
/test e2e-agnostic-ovn-upgrade-out-of-change |
|
/retest-required |
|
@hongkailiu: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
I forgot to do this in #1382.
The feature of creating proposals is enabled only on TP clusters. The namespace is only for testing that feature. Installing it only on TP clusters is to keep the damage away from any production clusters.
The renaming of ConfigMap from
ota-advisory-prompttocluster-update-advisory-promptis to avoid using an obsolete team name.Summary by CodeRabbit
Chores
Documentation