ROX-33119: Allow operator install method on non-OpenShift platforms#19446
ROX-33119: Allow operator install method on non-OpenShift platforms#19446
Conversation
ROX-33119: Remove platform gating that restricted the Operator installation method to OpenShift only. Update instruction text in both Init Bundles and CRS flows to be platform-neutral, with qualified sub-bullets for OpenShift vs other platforms and kubectl as an alternative to oc. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
…pace Simplify onChangePlatform to only set the platform field instead of resetting installation to Operator on every platform switch, which silently overrode the user's selection. Also fix ClipboardCopy in CRS operator instructions where line wrapping caused whitespace in the copied command text. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
|
Skipping CI for Draft Pull Request. |
Remove Record<string, string> annotations that widened as const types, so InstallationKey resolves to 'Operator' | 'Helm' and PlatformKey to 'OpenShift' | 'EKS' | 'AKS' | 'GKE'. Add oneOf validators to the yup schema for compile-time and runtime safety. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
Add missing article in heading ("using the Operator installation
method"), replace awkward colon with comma in OpenShift web console
bullet, remove redundant clause, and fix plural "secrets" to
singular "secret" in CRS apply step.
Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
Rewrite "In the cluster that you are securing, you have installed the RHACS Operator" to lead with the action for clarity. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
Remove "by" from "by using", replace redundant "YAML file for the init bundle/cluster registration secret" with "its YAML file", shorten "Perform one of the following tasks to apply..." to "Apply it using one of the following methods:", and simplify the final install step. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
|
Images are ready for the commit at edf5a64. To use with deploy scripts, first |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19446 +/- ##
==========================================
- Coverage 49.56% 49.56% -0.01%
==========================================
Files 2711 2711
Lines 204849 204849
==========================================
- Hits 101528 101527 -1
+ Misses 95741 95740 -1
- Partials 7580 7582 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
test |
| </p> | ||
| </ListItem> | ||
| <ListItem> | ||
| <p>You have installed the RHACS Operator on the cluster you are securing.</p> |
There was a problem hiding this comment.
@porridge, I changed this from the suggested: "In the cluster that you are securing, you have installed the RHACS Operator". This puts the action first and tacks on the location as a simple prepositional phrase at the end, which feels more direct.
I see that we use fronted prepositional phrases with a relative clause in other areas too. Your suggestion probably followed the same pattern, but I wonder if we could make this page a bit clearer.
Do you know who we could ask about that? @mansursyed @zhenpesky, this might be relevant for you both, too.
Description
Jira: ROX-33119
The Operator installation method was restricted to OpenShift only. Users selecting EKS, AKS, or GKE were forced to use Helm chart, even though the RHACS Operator now supports non-OpenShift platforms.
Changes
InitBundleFormonChangePlatformlogic that force-switched installation to Helm when a non-OpenShift platform was selectedInstallationKeyandPlatformKeytypes withoneOfvalidation in the Yup schema instead of loosestringtypeskubectlcommand option alongside the existingoccommand<init-bundle-file>.yaml,<cluster-registration-secret-file>.yaml)User-facing documentation
Testing and quality
Automated testing
How I validated my change
kubectlcommands on both Init Bundles and Cluster Registration Secrets flowsVisuals
Screen.Recording.2026-03-17.at.12.12.00.PM.mov