Skip to content

ROX-33125: deprecation notices for helm and manifests#19552

Merged
sachaudh merged 3 commits intomasterfrom
ROX-33125/helm-manifest-deprecation-notices
Mar 26, 2026
Merged

ROX-33125: deprecation notices for helm and manifests#19552
sachaudh merged 3 commits intomasterfrom
ROX-33125/helm-manifest-deprecation-notices

Conversation

@sachaudh
Copy link
Copy Markdown
Contributor

@sachaudh sachaudh commented Mar 23, 2026

Description

Jira: ROX-33125

Add deprecation warning alerts to the Helm chart and legacy manifest bundle installation flows in the cluster setup UI. Users are warned that:

  • The rhacs/secured-cluster-services Helm chart is deprecated since 4.11 and will be removed in 5.1
  • The legacy manifest bundle installation method is deprecated since 4.11 and will be removed in 5.1
  • They should migrate to the Kubernetes operator

Warnings appear in:

  • Init Bundles > Helm chart tab
  • Cluster Registration Secrets > Helm chart tab (and modal)
  • Legacy installation > Deployment step (manifest download)

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

  • Verified ESLint passes on all 3 modified files
  • Verified TypeScript type checking passes (npx tsc --noEmit)
  • Additive-only change (inserting Alert components) with no logic modifications

Screenshots

Screenshot 2026-03-23 at 10 32 53 AM Screenshot 2026-03-23 at 10 33 07 AM Screenshot 2026-03-23 at 10 33 13 AM

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 23, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@sachaudh
Copy link
Copy Markdown
Contributor Author

sachaudh commented Mar 23, 2026

@porridge (and reviewers), I have a few follow-up questions after working on this change:

  1. Should the Helm chart tab also surface the deprecation through a text change (e.g., "Helm chart (deprecated)")? Right now, you'd have to go into the tab to see that it's deprecated.
Screenshot 2026-03-23 at 10 49 24 AM 2. When creating an init bundle, users can select the "Helm chart" option as the installation method and download the bundle without seeing the deprecation warning. Should the warning be surfaced in the form itself? Screenshot 2026-03-23 at 10 50 04 AM 3. The change mentions deprecation in `4.11.0` and removal in `5.1.0`. @porridge can you confirm that as still true for this? I'll dm PMs to make sure they're good with that as well.

@sachaudh sachaudh marked this pull request as ready for review March 23, 2026 17:52
@sachaudh sachaudh requested a review from a team as a code owner March 23, 2026 17:52
@rhacs-bot
Copy link
Copy Markdown
Contributor

rhacs-bot commented Mar 23, 2026

Images are ready for the commit at fbaeb2a.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-447-gfbaeb2add2.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.28%. Comparing base (4e2a327) to head (fbaeb2a).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19552      +/-   ##
==========================================
- Coverage   49.28%   49.28%   -0.01%     
==========================================
  Files        2735     2735              
  Lines      206215   206215              
==========================================
- Hits       101633   101632       -1     
- Misses      97041    97042       +1     
  Partials     7541     7541              
Flag Coverage Δ
go-unit-tests 49.28% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sachaudh sachaudh force-pushed the ROX-33125/helm-manifest-deprecation-notices branch from 9aa7ee6 to 26a7a02 Compare March 23, 2026 18:42
@sachaudh sachaudh changed the base branch from master to ROX-33119/operator-instructions-non-openshift March 23, 2026 18:42
@stackrox stackrox deleted a comment from openshift-ci bot Mar 23, 2026
@porridge
Copy link
Copy Markdown
Contributor

@porridge (and reviewers), I have a few follow-up questions after working on this change:

  1. Should the Helm chart tab also surface the deprecation through a text change (e.g., "Helm chart (deprecated)")?

Good idea!

  1. When creating an init bundle, users can select the "Helm chart" option as the installation method and download the bundle without seeing the deprecation warning. Should the warning be surfaced in the form itself?

Yes, and then I think we can also drop the (recommended) from the operator option?

  1. The change mentions deprecation in 4.11.0 and removal in 5.1.0. @porridge can you confirm that as still true for this?

This is still very much the plan.

Copy link
Copy Markdown
Contributor

@porridge porridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM already, but will be even better with the additions you came up with!

Base automatically changed from ROX-33119/operator-instructions-non-openshift to master March 25, 2026 16:29
Warn users that the rhacs/secured-cluster-services Helm chart and
legacy manifest bundle installation methods are deprecated since
4.11 and will be removed in 5.1, recommending the Kubernetes
operator instead.

Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
@sachaudh sachaudh force-pushed the ROX-33125/helm-manifest-deprecation-notices branch from 26a7a02 to 22703ad Compare March 25, 2026 16:30
- Use Flex spaceItems prop instead of className utility classes for
  spacing, following PatternFly best practices
- Convert React fragment to Flex in ClusterDeployment for consistent
  layout prop usage
- Fix manifest bundle deprecation version from 4.11 to 4.9
- Add "(deprecated)" label to Helm chart tabs in init bundles, cluster
  registration secrets, and modal
- Remove "(recommended)" from Operator option and add "(deprecated)" to
  Helm chart option in init bundle form

Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
…ment

Replace className utility class on deprecation Alert with FlexItem
spacer prop for PatternFly-idiomatic spacing. Convert React fragment
to Flex in ClusterDeployment for consistent layout component usage.

Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
@sachaudh sachaudh merged commit 9aaae09 into master Mar 26, 2026
110 of 111 checks passed
@sachaudh sachaudh deleted the ROX-33125/helm-manifest-deprecation-notices branch March 26, 2026 16:01
davdhacs pushed a commit that referenced this pull request Mar 26, 2026
Signed-off-by: Saif Chaudhry <schaudhr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants