Skip to content

Document the OCI registry as the default Helm chart source - #863

Open
janhoy wants to merge 9 commits into
apache:mainfrom
janhoy:oci-charts-default
Open

janhoy wants to merge 9 commits into
apache:mainfrom
janhoy:oci-charts-default

Conversation

@janhoy

@janhoy janhoy commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Part of the overall epic #813

Follows #814, which added the publishing tooling without changing anything users see. This one makes the switch.

Makes oci://ghcr.io/apache/solr-operator/helm the documented way to install both charts, and marks https://solr.apache.org/charts as deprecated. Installing from OCI needs no helm repo add and no credentials.

helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0
helm install example       oci://ghcr.io/apache/solr-operator/helm/solr --version 0.10.0

Deprecation plan

Charts go to both channels throughout the 0.x releases, so no patch upgrade breaks. From v1.0.0, the OCI registry only — a major version gives a version-anchored deadline instead of a date that slips.

What changed

  • Both chart READMEs lead with OCI, HTTPS documented as deprecated. The two paths sit in separate fenced blocks, so copy-pasting one does not run both.
  • Top-level README.md and the running-the-operator, local-tutorial and upgrade-notes Antora pages lead with OCI.
  • upgrade-notes.adoc gains a "Where the Helm charts are published" section and a v0.10.0 entry pointing at it.
  • Both Chart.yaml files gain artifacthub.io/changes entries, so the switch shows up in the Artifact Hub changelog.

Verified before opening

v0.8.1 and v0.9.1 are published and anonymously pullable from the OCI registry with helm pull --verify, no credentials and no helm registry login.

Not in this PR

Re-configuring Artifact Hub to list the OCI charts is manual work in their control panel and is tracked in #862.

Makes oci://ghcr.io/apache/solr-operator/helm the documented way to install both charts, and marks the HTTPS Helm repository at https://solr.apache.org/charts as deprecated. Installing from an OCI registry needs no 'helm repo add' and no credentials.

Charts are published to both the OCI registry and the HTTPS repository throughout the 0.x releases, so nobody has to change anything on a patch upgrade. Starting with v1.0.0, charts will be published to the OCI registry only. A major version is the natural place to drop the old channel, and it gives users a version-anchored deadline rather than a date that slips with the release schedule.

Artifact Hub still indexes the HTTPS repository. Migrating it would need one repo entry per chart and would change every existing artifacthub.io/packages/helm/apache-solr/... URL, so it is better done as part of the v1.0.0 cutover. Dual publishing keeps the current Artifact Hub entry accurate in the meantime.

Requires the publishing tooling to be in place and the ghcr.io packages to be public first.

Fixes apache#813
… for install docs

Both charts gain 'added' and 'deprecated' artifacthub.io/changes entries for the
OCI switch, so the change shows up in the Artifact Hub changelog for v0.10.0.

running-the-operator.adoc called Artifact Hub "the official documentation for
installing the Solr Operator Helm chart" a few lines above the text deprecating
the HTTPS repository. Artifact Hub generates its install snippet from how the
repository is registered, which is still the HTTPS Helm repo, so it contradicted
the page it was on. Artifact Hub is now referenced once, as the place the chart's
values and changelog are listed, with a note that its install command still uses
the deprecated repository.
@janhoy janhoy mentioned this pull request Oct 24, 2026
3 of 6 tasks
@janhoy
janhoy requested a balanced review from Copilot October 24, 2026 14:36

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.

🟡 Changes recommended

The standalone HTTPS alternatives omit prerequisite commands needed for reliable installation and upgrades.

3 open issues
What changed in this PR

Makes OCI the recommended Helm chart source for Solr Operator and SolrCloud, following the publishing tooling work. Documents dual publishing throughout 0.x and the OCI-only transition at v1.0.0.

Changes:

  • Updates installation and upgrade examples to use OCI URLs.
  • Marks the HTTPS repository as deprecated while retaining alternative instructions.
  • Adds publishing guidance and Artifact Hub changelog entries.
File Description
README.md Introduces OCI installation commands and the deprecation timeline.
helm/​solr/​README.md Adds OCI installation and upgrade examples alongside HTTPS alternatives.
helm/​solr/​Chart.yaml Records OCI availability and HTTPS deprecation in the changelog.
helm/​solr-operator/​README.md Makes OCI the primary installation and upgrade path.
helm/​solr-operator/​Chart.yaml Adds chart distribution and deprecation changelog entries.
docs/​modules/​upgrade-notes/​pages/​upgrade-notes.adoc Explains publishing channels and updates upgrade guidance.
docs/​modules/​getting-started/​pages/​running-the-operator.adoc Leads with OCI installation and retains an HTTPS alternative.
docs/​modules/​getting-started/​pages/​local-tutorial.adoc Switches tutorial installation and upgrade commands to OCI.

Review effort: Balanced

Comment thread docs/modules/getting-started/pages/running-the-operator.adoc
Comment thread helm/solr-operator/README.md
Comment thread helm/solr/README.md
janhoy and others added 6 commits October 25, 2026 15:49
Update Helm repository instructions for Apache Solr.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
The step only appeared in the OCI block, so following the HTTPS
alternative left the ZookeeperCluster CRD missing.
The HTTPS alternative skipped the step its own introduction calls for.
The docs said charts would be published to the OCI registry only "starting with
v1.0.0". We are not ready to commit to when the HTTPS repository stops being
updated, so the wording is now open-ended: charts go to both locations for now,
and the HTTPS repository will be retired in a future release.

The deprecation itself is unchanged, and the upgrade notes promise the retirement
will be announced in advance rather than naming a version. Removing the deadline
also drops the "update your automation before upgrading to v1.0.0" instruction,
which is now phrased as a recommendation.
The deprecation notice was repeated on five pages: the top-level README, the
local-tutorial and running-the-operator docs, and both chart READMEs. That is
five places to keep in sync, and they had already started to drift.

The upgrade notes are now the single place that explains it, under the existing
"Where the Helm charts are published" anchor. Everywhere else that needs to
mention the old repository links there instead: the Antora pages with an xref,
and the Markdown READMEs with an absolute link to the published page, since they
are also rendered on Artifact Hub where a relative link would not resolve.

The HTTPS install snippet in running-the-operator.adoc is kept, since it is still
a working alternative; only the repeated explanation is gone.
Installing via OCI never registers apache-solr, so each HTTPS
alternative has to add it to stand on its own.

This branch has not been deployed

No deployments
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