Skip to content

⚠ remove HelmChartSupport feature gate and native Helm chart code#2798

Open
pedjak wants to merge 1 commit into
operator-framework:mainfrom
pedjak:remove-helmchart-support
Open

⚠ remove HelmChartSupport feature gate and native Helm chart code#2798
pedjak wants to merge 1 commit into
operator-framework:mainfrom
pedjak:remove-helmchart-support

Conversation

@pedjak

@pedjak pedjak commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Description

Removes the HelmChartSupport feature gate (alpha, default off) and all code
for detecting, pulling, caching, and loading native Helm chart bundles from OCI
registries.

As noted in #2797 (comment),
the path forward on the next bundle format is unclear and may not be Helm,
making this code a maintenance burden that should be revisited with a broader
design when the time comes.

What's removed:

  • HelmChartSupport feature gate constant and spec
  • Native chart detection, pulling, and caching (hasChart, pullChart,
    IsBundleSourceChart, LoadChartFSWithOptions, chart layer unpacking)
  • Feature gate references in all manifests and helm values
  • Documentation for enabling Helm chart support

What's preserved:

  • The Helm backend that converts registry+v1 bundles into Helm chart objects
    for installation (RegistryV1HelmChartProvider) is unaffected

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

The HelmChartSupport feature gate (alpha, default off) and all code for
detecting, pulling, caching, and loading native Helm chart bundles from
OCI registries is removed. The path forward on the next bundle format is
unclear and may not be Helm, so maintaining this code is not justified.

The Helm backend that converts registry+v1 bundles into Helm chart
objects for installation (RegistryV1HelmChartProvider) is unaffected.

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 2, 2026 09:38
@netlify

netlify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 5789dbf
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/6a4631a62c8d15000841dcde
😎 Deploy Preview https://deploy-preview-2798--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@openshift-ci openshift-ci Bot requested review from joelanford and trgeiger July 2, 2026 09:38
@openshift-ci

openshift-ci Bot commented Jul 2, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign grokspawn for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the (alpha, default-off) HelmChartSupport feature gate and the associated “native Helm chart bundle from OCI” detection/pull/cache/load implementation, reducing ongoing maintenance burden while keeping the existing Helm backend for registry+v1 bundles intact.

Changes:

  • Removed the HelmChartSupport feature gate definition and all remaining enablement/default wiring (manifests, Helm values, e2e defaults).
  • Removed native Helm chart OCI handling in the shared image utilities (chart detection/pull and chart layer unpacking paths) and corresponding unit tests.
  • Removed the draft documentation that described how to enable and demo Helm chart support.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/e2e/steps/hooks.go Removes HelmChartSupport from the e2e feature gate defaults map.
manifests/standard.yaml Drops the --feature-gates=HelmChartSupport=false manager arg.
manifests/standard-e2e.yaml Drops the --feature-gates=HelmChartSupport=false manager arg for e2e manifests.
manifests/experimental.yaml Drops the --feature-gates=HelmChartSupport=true manager arg.
manifests/experimental-e2e.yaml Drops the --feature-gates=HelmChartSupport=true manager arg for e2e manifests.
internal/shared/util/image/pull.go Removes the Helm-chart-specific pull path guarded by the feature gate.
internal/shared/util/image/helm.go Deleted: native Helm chart image/bundle helpers.
internal/shared/util/image/helm_test.go Deleted: unit tests for the removed native chart helpers.
internal/shared/util/image/cache.go Removes Helm-chart layer unpacking specialization and related dependencies.
internal/shared/util/image/cache_test.go Removes unit tests that exercised Helm-chart-specific cache behavior.
internal/operator-controller/features/features.go Removes the HelmChartSupport feature gate constant/spec.
internal/operator-controller/applier/helm.go Removes feature-gated “bundle-is-a-chart” detection/loading path; relies on provider only.
internal/catalogd/graphql/graphql.go Removes an outdated comment example referencing helm.chart.
helm/tilt.yaml Removes HelmChartSupport from the enabled feature list.
helm/olmv1/values.yaml Removes HelmChartSupport from default enabled options.
helm/experimental.yaml Removes HelmChartSupport from default enabled options.
docs/draft/howto/enable-helm-chart-support.md Deleted: draft how-to for enabling Helm chart support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pedjak pedjak requested review from grokspawn and removed request for trgeiger July 2, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants