ROX-33119: Allow operator install method on non-OpenShift platforms by sachaudh · Pull Request #19446 · stackrox/stackrox
added 2 commits
March 16, 2026 13:54ROX-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>
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>
sachaudh
changed the title
feat(clusters): allow operator install method on non-OpenShift platforms
ROX-33119: Allow operator install method on non-OpenShift platforms
Standardize ClipboardCopy content to use HTML entities (</>) instead of JSX string expressions for angle brackets, matching the pattern used in the InitBundles variant and other ClipboardCopy usages across the codebase. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
Derive Yup oneOf validation values from installationOptions and platformOptions objects instead of hardcoding them. This prevents silent divergence if a new option is added to the source-of-truth objects but not to the schema. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
Add explicit string type to the value parameter to avoid implicit any, consistent with the type narrowing done elsewhere in this PR. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
Remove trailing space before closing </p> tags in both SecureClusterUsingOperator components. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
HTML entities cause prettier to treat the content as plain text and wrap long lines, which introduces newlines in the copied command. JSX string expressions are treated as atomic by prettier and preserve the command as a single line. Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
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