From e9f55708e9cdbda4dff73e38f879cd1ed57b1f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sat, 24 Oct 2026 01:00:06 +0200 Subject: [PATCH 1/9] Document the OCI registry as the default Helm chart source 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 #813 --- README.md | 7 ++- .../getting-started/pages/local-tutorial.adoc | 24 ++++---- .../pages/running-the-operator.adoc | 28 ++++++--- .../upgrade-notes/pages/upgrade-notes.adoc | 34 ++++++++++- helm/solr-operator/README.md | 57 +++++++++++++++---- helm/solr/README.md | 20 ++++++- 6 files changed, 136 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index d3a0f36e4..2bf751a78 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,12 @@ Join us on the [#solr-operator](https://kubernetes.slack.com/messages/solr-opera Please visit the following pages for documentation on using and developing the Solr Operator: - [Local Tutorial](https://solr.apache.org/guide/operator/latest/getting-started/local-tutorial.html) -- [Helm Instructions via Artifact Hub](https://artifacthub.io/packages/helm/apache-solr/solr-operator) +- **Helm Chart Installation** + - The Helm charts are published as OCI artifacts (recommended): + - **Solr Operator**: `helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version ` + - **Solr Cloud**: `helm install solr oci://ghcr.io/apache/solr-operator/helm/solr --version ` + - Or via the deprecated HTTPS repository: [Helm Instructions via Artifact Hub](https://artifacthub.io/packages/helm/apache-solr/solr-operator) + - Charts are published to both locations throughout the 0.x releases. Starting with `v1.0.0`, charts will be published to the OCI registry only. - The released helm charts and their instructions should be used for all safe and stable deployments. The charts found in `helm/` are not guaranteed to be compatible with the last stable release, and should only be used for development purposes. - [Running the Solr Operator](https://solr.apache.org/guide/operator/latest/getting-started/running-the-operator.html) diff --git a/docs/modules/getting-started/pages/local-tutorial.adoc b/docs/modules/getting-started/pages/local-tutorial.adoc index c1da57b9d..42a86a50c 100644 --- a/docs/modules/getting-started/pages/local-tutorial.adoc +++ b/docs/modules/getting-started/pages/local-tutorial.adoc @@ -79,15 +79,10 @@ You can follow along here, or follow the instructions in the https://artifacthub Now that we have the prerequisites setup, let us install Solr Operator which will let us easily manage a large Solr cluster: -Now add the Solr Operator Helm repository. (You should only need to do this once) +The Helm charts are published to the GitHub Container Registry as OCI artifacts, so there is +no Helm repository to add and no credentials to configure. -[source,bash] ----- -$ helm repo add apache-solr https://solr.apache.org/charts -$ helm repo update ----- - -Next, install the Solr Operator chart. Note this is using Helm v3, in order to use Helm v2 please consult the https://hub.helm.sh/charts/solr-operator/solr-operator[Helm Chart documentation]. +Install the Solr Operator chart with the commands below. This will install the https://github.com/pravega/zookeeper-operator[Zookeeper Operator] by default. [source,bash,subs="verbatim,attributes"] @@ -95,9 +90,16 @@ This will install the https://github.com/pravega/zookeeper-operator[Zookeeper Op # Install the Solr & Zookeeper CRDs $ kubectl create -f https://solr.apache.org/operator/downloads/crds/v{operator-version}/all-with-dependencies.yaml # Install the Solr operator and Zookeeper Operator -$ helm install solr-operator apache-solr/solr-operator --version {operator-version} +$ helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version {operator-version} ---- +[NOTE] +==== +The charts are also still served from the HTTPS Helm repository at `https://solr.apache.org/charts`, +which is deprecated. Charts are published to both locations throughout the 0.x releases. +Starting with `v1.0.0`, charts will be published to the OCI registry only. +==== + _Note that the Helm chart version does not contain a `v` prefix, which the downloads version does. The Helm chart version is the only part of the Solr Operator release that does not use the `v` prefix._ After installing, you can check to see what lives in the cluster to make sure that the Solr and ZooKeeper operators have started correctly. @@ -128,7 +130,7 @@ To start a Solr Cloud cluster, we will create a yaml that will tell the Solr Ope [source,bash,subs="verbatim,attributes"] ---- # Create a 3-node cluster v9.10.0 with 300m Heap each: -helm install example-solr apache-solr/solr --version {operator-version} \ +helm install example-solr oci://ghcr.io/apache/solr-operator/helm/solr --version {operator-version} \ --set image.tag=9.10.0 \ --set solrOptions.javaMemory="-Xms300m -Xmx300m" \ --set addressability.external.method=Ingress \ @@ -224,7 +226,7 @@ So we wish to upgrade to a newer Solr version: curl -s http://default-example-solrcloud.ing.local.domain/solr/admin/info/system | grep solr-i # Update the solrCloud configuration with the new version, keeping all previous settings and the number of nodes set by the autoscaler. -helm upgrade example-solr apache-solr/solr --version {operator-version} \ +helm upgrade example-solr oci://ghcr.io/apache/solr-operator/helm/solr --version {operator-version} \ --reuse-values \ --set image.tag=9.10.0 diff --git a/docs/modules/getting-started/pages/running-the-operator.adoc b/docs/modules/getting-started/pages/running-the-operator.adoc index 93fc388a4..82f0486f2 100644 --- a/docs/modules/getting-started/pages/running-the-operator.adoc +++ b/docs/modules/getting-started/pages/running-the-operator.adoc @@ -26,23 +26,33 @@ The helm chart provides abstractions over the Input Arguments described below, a The official documentation for installing the Solr Operator Helm chart can be found on https://artifacthub.io/packages/helm/apache-solr/solr-operator[Artifact Hub]. -The first step is to add the Solr Operator helm repository. +The chart is published to the GitHub Container Registry as an OCI artifact. +Nothing needs to be added or configured first, and no credentials are required. -[source,bash] +Install the Solr Operator chart with the command below. +This will install the https://github.com/pravega/zookeeper-operator[Zookeeper Operator] by default. + +[source,bash,subs="verbatim,attributes"] ---- -$ helm repo add apache-solr https://solr.apache.org/charts -$ helm repo update +$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v{operator-version}/all-with-dependencies.yaml +$ helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version {operator-version} ---- -Next, install the Solr Operator chart. Note this is using Helm v3, use the official Helm chart documentation linked to above. -This will install the https://github.com/pravega/zookeeper-operator[Zookeeper Operator] by default. +[NOTE] +==== +The chart is also still served from the HTTPS Helm repository at `https://solr.apache.org/charts`, which is deprecated: [source,bash,subs="verbatim,attributes"] ---- -$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v{operator-version}/all-with-dependencies.yaml +$ helm repo add apache-solr https://solr.apache.org/charts +$ helm repo update $ helm install solr-operator apache-solr/solr-operator --version {operator-version} ---- +Charts are published to both locations throughout the 0.x releases. +Starting with `v1.0.0`, charts will be published to the OCI registry only. +==== + _Note that the Helm chart version does not contain a `v` prefix, which the downloads version does. The Helm chart version is the only part of the Solr Operator release that does not use the `v` prefix._ After installing, you can check to see what lives in the cluster to make sure that the Solr and ZooKeeper operators have started correctly. @@ -73,9 +83,9 @@ Helm 3 automatically installs the Solr CRDs in the /crds directory, so no furthe If you have solr operator installations in multiple namespaces that are managed separately, you will likely want to skip installing CRDs when installing the chart. This can be done with the `--skip-crds` helm option. -[source,bash] +[source,bash,subs="verbatim,attributes"] ---- -helm install solr-operator apache-solr/solr-operator --skip-crds --namespace solr +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version {operator-version} --skip-crds --namespace solr ---- *Helm will not upgrade CRDs once they have been installed. diff --git a/docs/modules/upgrade-notes/pages/upgrade-notes.adoc b/docs/modules/upgrade-notes/pages/upgrade-notes.adoc index e0d5a26cf..7b710a02f 100644 --- a/docs/modules/upgrade-notes/pages/upgrade-notes.adoc +++ b/docs/modules/upgrade-notes/pages/upgrade-notes.adoc @@ -97,6 +97,31 @@ It is always encouraged to upgrade to the latest patch version of the minor and There is no need to upgrade one patch version at a time (e.g. `v0.2.5` -> `v0.2.6` -> `v0.2.7` -> `v0.2.8`), instead you can leap to the latest patch version (e.g. `v0.2.5` -> `v0.2.8`). +[#where-the-helm-charts-are-published] +== Where the Helm charts are published + +The Solr Operator and Solr Helm charts are published as OCI artifacts to the GitHub Container Registry: + +[source,bash,subs="verbatim,attributes"] +---- +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version {operator-version} +helm install example oci://ghcr.io/apache/solr-operator/helm/solr --version {operator-version} +---- + +Installing from an OCI registry requires no `helm repo add`, and no credentials. + +[WARNING] +==== +The HTTPS Helm repository at `https://solr.apache.org/charts` is *deprecated*. + +Charts are published to both the OCI registry and the HTTPS repository throughout the 0.x releases, +so there is no rush to migrate. Starting with `v1.0.0`, charts will be published to the OCI registry +only, and the HTTPS repository will receive no further releases. + +If you install or upgrade the charts through automation, update it to use the `oci://` URLs above +before upgrading to `v1.0.0`. +==== + == Installing the Solr Operator vs Solr CRDs Installing the Solr Operator, especially via the https://artifacthub.io/packages/helm/apache-solr/solr-operator[Helm Chart], @@ -127,7 +152,7 @@ If you are using the Solr Helm chart to deploy the Zookeeper operator, then you ---- # Just replace the Solr CRDs and all CRDs it might depend on (e.g. ZookeeperCluster) kubectl replace -f "http://solr.apache.org/operator/downloads/crds/v{operator-version}/all-with-dependencies.yaml" -helm upgrade solr-operator apache-solr/solr-operator --version {operator-version} +helm upgrade solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version {operator-version} ---- _Note that the Helm chart version does not contain a `v` prefix, which the downloads version does. The Helm chart version is the only part of the Solr Operator release that does not use the `v` prefix._ @@ -136,6 +161,13 @@ _Note that the Helm chart version does not contain a `v` prefix, which the downl === v0.10.0 +* *Helm charts are now published to an OCI registry* ++ +The charts are published as OCI artifacts to `oci://ghcr.io/apache/solr-operator/helm`, alongside the +existing HTTPS Helm repository. The HTTPS repository at `https://solr.apache.org/charts` is deprecated +and will receive no further releases starting with `v1.0.0`. +See <>. + * *Logging now defaults to JSON format* + The new default for CLI flag `--zap-devel` is now `false`, causing log encoding to be `json` and log level to be `info`. diff --git a/helm/solr-operator/README.md b/helm/solr-operator/README.md index 79acc1a40..3d290d620 100644 --- a/helm/solr-operator/README.md +++ b/helm/solr-operator/README.md @@ -31,19 +31,39 @@ If you do not wish to use the Zookeeper Operator, set: - `zookeeper-operator.use: false` -### Adding the Solr Operator Helm Chart Repository -You should only need to add the solr operator helm chart repository once, by running the following command: +### Installing the Chart + +The Solr Operator Helm chart can be installed either from the OCI registry (recommended) or from the deprecated HTTPS repository. + +> **Note:** The HTTPS Helm repository at `https://solr.apache.org/charts` is deprecated. +> Charts are published to both locations throughout the 0.x releases. +> Starting with `v1.0.0`, charts will be published to the OCI registry only. + +#### Installation via OCI Registry (Recommended) + +The Helm chart is published to the GitHub Container Registry as an OCI artifact. +No repository needs to be added, and no credentials are required. ```bash -helm repo add apache-solr https://solr.apache.org/charts +# Install CRDs first +kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.10.0-prerelease/all-with-dependencies.yaml + +# Install the Solr Operator from OCI registry +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease ``` -### Installing the Chart +#### Installation via HTTPS Repository (Deprecated) -To install the Solr Operator for the first time in your cluster, you can use the latest version or a specific version, run with the following commands: +The chart is also still served from the deprecated HTTPS Helm repository. ```bash +# Add the repository (only needed once) +helm repo add apache-solr https://solr.apache.org/charts + +# Install CRDs first kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.10.0-prerelease/all-with-dependencies.yaml + +# Install the Solr Operator from the HTTPS repository helm install solr-operator apache-solr/solr-operator --version 0.10.0-prerelease ``` @@ -57,7 +77,14 @@ _Note that the Helm chart version does not contain a `v` prefix, which the downl If you are upgrading your Solr Operator deployment, you should always use a specific version of the chart and pre-install the Solr CRDS: ```bash +# Upgrade the CRDs first, then the chart kubectl replace -f https://solr.apache.org/operator/downloads/crds/v0.10.0-prerelease/all-with-dependencies.yaml +helm upgrade solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease +``` + +Or, from the deprecated HTTPS repository: + +```bash helm upgrade solr-operator apache-solr/solr-operator --version 0.10.0-prerelease ``` @@ -67,18 +94,20 @@ If you want to specify the namespace for the installation, use the `--namespace` All resources will be deployed to the given namespace. ```bash -helm install solr-operator apache-solr/solr-operator --namespace solr +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease --namespace solr ``` If you want to only watch that namespace, or others, then you will have to provide the `watchNamespaces` option. ```bash # Watch the namespace where the operator is deployed to (just pass the boolean true) -helm install solr-operator apache-solr/solr-operator --namespace solr --set watchNamespaces=true +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease --namespace solr --set watchNamespaces=true + # Watch a single namespace different than the one being deployed to -helm install solr-operator apache-solr/solr-operator --namespace solr --set watchNamespaces=other -# Watch multiple namespaces (commmas must be escaped in the set string) -helm install solr-operator apache-solr/solr-operator --namespace solr --set watchNamespaces="team1\,team2\,team3" +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease --namespace solr --set watchNamespaces=other + +# Watch multiple namespaces (commas must be escaped in the set string) +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease --namespace solr --set watchNamespaces="team1\,team2\,team3" ``` Note: Passing `false` or `""` to the `watchNamespaces` variable will both result in the operator watchting all namespaces in the Kube cluster. @@ -91,7 +120,13 @@ If you have solr operator installations in multiple namespaces that are managed This can be done with the `--skip-crds` helm option. ```bash -helm install solr-operator apache-solr/solr-operator --skip-crds --namespace solr +helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease --skip-crds --namespace solr +``` + +Or, from the deprecated HTTPS repository: + +```bash +helm install solr-operator apache-solr/solr-operator --version 0.10.0-prerelease --skip-crds --namespace solr ``` **Helm will not upgrade CRDs once they have been installed. diff --git a/helm/solr/README.md b/helm/solr/README.md index 52eaa4cf3..949569773 100644 --- a/helm/solr/README.md +++ b/helm/solr/README.md @@ -33,7 +33,19 @@ There may be breaking changes between the version you are using and the version ### Installing the Chart -To install a SolrCloud for the first time in your cluster, you can use the latest version or a specific version, run with the following commands: +The Solr Helm chart can be installed either from the OCI registry (recommended) or from the deprecated HTTPS helm repository. + +> **Note:** The HTTPS Helm repository at `https://solr.apache.org/charts` is deprecated. +> Charts are published to both locations throughout the 0.x releases. +> Starting with `v1.0.0`, charts will be published to the OCI registry only. + +To install a SolrCloud for the first time in your cluster, you can use the latest version or a specific version: + +```bash +helm install example oci://ghcr.io/apache/solr-operator/helm/solr --version 0.10.0-prerelease --set image.tag=9.10.0 +``` + +Or, from the deprecated HTTPS Helm repository: ```bash helm install example apache-solr/solr --version 0.10.0-prerelease --set image.tag=9.10.0 @@ -49,6 +61,12 @@ _Note that the Helm chart version does not contain a `v` prefix, which the Solr If you are upgrading your SolrCloud deployment, you should always use a specific version of the chart and upgrade **after [upgrading the Solr Operator](https://artifacthub.io/packages/helm/apache-solr/solr-operator#upgrading-the-solr-operator) to the same version**: +```bash +helm upgrade example oci://ghcr.io/apache/solr-operator/helm/solr --version 0.10.0-prerelease --reuse-values --set image.tag=9.10.0 +``` + +Or, from the deprecated HTTPS Helm repository: + ```bash helm upgrade example apache-solr/solr --version 0.10.0-prerelease --reuse-values --set image.tag=9.10.0 ``` From 4a00a35aff1de013357543db62f309f417076fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sat, 24 Oct 2026 14:35:51 +0200 Subject: [PATCH 2/9] Add Artifact Hub changelog entries, and stop pointing at Artifact Hub 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. --- .../getting-started/pages/running-the-operator.adoc | 5 +++-- helm/solr-operator/Chart.yaml | 12 ++++++++++++ helm/solr/Chart.yaml | 12 ++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/docs/modules/getting-started/pages/running-the-operator.adoc b/docs/modules/getting-started/pages/running-the-operator.adoc index 82f0486f2..702fc2bc8 100644 --- a/docs/modules/getting-started/pages/running-the-operator.adoc +++ b/docs/modules/getting-started/pages/running-the-operator.adoc @@ -18,13 +18,14 @@ == Using the Solr Operator Helm Chart -The easiest way to run the Solr Operator is via the https://artifacthub.io/packages/helm/apache-solr/solr-operator[provided Helm Chart]. +The easiest way to run the Solr Operator is via the provided Helm Chart. The helm chart provides abstractions over the Input Arguments described below, and should work with any official images in docker hub. === How to install via Helm -The official documentation for installing the Solr Operator Helm chart can be found on https://artifacthub.io/packages/helm/apache-solr/solr-operator[Artifact Hub]. +The chart's values and changelog are listed on https://artifacthub.io/packages/helm/apache-solr/solr-operator[Artifact Hub], +though the install command shown there still uses the deprecated HTTPS Helm repository. The chart is published to the GitHub Container Registry as an OCI artifact. Nothing needs to be added or configured first, and no credentials are required. diff --git a/helm/solr-operator/Chart.yaml b/helm/solr-operator/Chart.yaml index 1088131b2..f078bf00b 100644 --- a/helm/solr-operator/Chart.yaml +++ b/helm/solr-operator/Chart.yaml @@ -138,6 +138,18 @@ annotations: url: https://github.com/apache/solr-operator/issues/535 - name: GitHub PR url: https://github.com/apache/solr-operator/pull/571 + - kind: added + description: The Helm charts are now also published as OCI artifacts to oci://ghcr.io/apache/solr-operator/helm, which needs no `helm repo add` and no credentials + links: + - name: Github Issue + url: https://github.com/apache/solr-operator/issues/813 + - name: Github PR + url: https://github.com/apache/solr-operator/pull/814 + - kind: deprecated + description: The HTTPS Helm repository at https://solr.apache.org/charts is deprecated. Charts are published to both it and the OCI registry throughout the 0.x releases, but starting with v1.0.0 they will be published to the OCI registry only + links: + - name: Github Issue + url: https://github.com/apache/solr-operator/issues/813 artifacthub.io/images: | - name: solr-operator image: apache/solr-operator:v0.10.0-prerelease diff --git a/helm/solr/Chart.yaml b/helm/solr/Chart.yaml index 29a4bafbf..192db5d32 100644 --- a/helm/solr/Chart.yaml +++ b/helm/solr/Chart.yaml @@ -60,6 +60,18 @@ annotations: url: https://github.com/apache/solr-operator/issues/338 - name: Github PR url: https://github.com/apache/solr-operator/pull/832 + - kind: added + description: The Helm charts are now also published as OCI artifacts to oci://ghcr.io/apache/solr-operator/helm, which needs no `helm repo add` and no credentials + links: + - name: Github Issue + url: https://github.com/apache/solr-operator/issues/813 + - name: Github PR + url: https://github.com/apache/solr-operator/pull/814 + - kind: deprecated + description: The HTTPS Helm repository at https://solr.apache.org/charts is deprecated. Charts are published to both it and the OCI registry throughout the 0.x releases, but starting with v1.0.0 they will be published to the OCI registry only + links: + - name: Github Issue + url: https://github.com/apache/solr-operator/issues/813 artifacthub.io/containsSecurityUpdates: "false" artifacthub.io/recommendations: | - url: https://artifacthub.io/packages/helm/apache-solr/solr-operator From b3a293c5c7c81d183939755f66f8b21dc863aa6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sat, 24 Oct 2026 15:52:51 +0200 Subject: [PATCH 3/9] Small doc fix --- docs/modules/getting-started/pages/running-the-operator.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/modules/getting-started/pages/running-the-operator.adoc b/docs/modules/getting-started/pages/running-the-operator.adoc index 702fc2bc8..1518af14f 100644 --- a/docs/modules/getting-started/pages/running-the-operator.adoc +++ b/docs/modules/getting-started/pages/running-the-operator.adoc @@ -24,8 +24,7 @@ The helm chart provides abstractions over the Input Arguments described below, a === How to install via Helm -The chart's values and changelog are listed on https://artifacthub.io/packages/helm/apache-solr/solr-operator[Artifact Hub], -though the install command shown there still uses the deprecated HTTPS Helm repository. +The chart's values and changelog are listed on https://artifacthub.io/packages/helm/apache-solr/solr-operator[Artifact Hub]. The chart is published to the GitHub Container Registry as an OCI artifact. Nothing needs to be added or configured first, and no credentials are required. From 0cb5fc1d6387fe6c17224f1ad822ea42056a1b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sun, 25 Oct 2026 15:49:02 +0100 Subject: [PATCH 4/9] Revise instructions for adding Apache Solr Helm repo Update Helm repository instructions for Apache Solr. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- helm/solr/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/solr/README.md b/helm/solr/README.md index 949569773..0707caf72 100644 --- a/helm/solr/README.md +++ b/helm/solr/README.md @@ -48,6 +48,7 @@ helm install example oci://ghcr.io/apache/solr-operator/helm/solr --version 0.10 Or, from the deprecated HTTPS Helm repository: ```bash +helm repo add apache-solr https://solr.apache.org/charts helm install example apache-solr/solr --version 0.10.0-prerelease --set image.tag=9.10.0 ``` From ce830b9d673a0d94d09365c53fb35a4e87c7a5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sun, 25 Oct 2026 15:53:17 +0100 Subject: [PATCH 5/9] Install the CRDs before either chart source The step only appeared in the OCI block, so following the HTTPS alternative left the ZookeeperCluster CRD missing. --- .../getting-started/pages/running-the-operator.adoc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/modules/getting-started/pages/running-the-operator.adoc b/docs/modules/getting-started/pages/running-the-operator.adoc index 1518af14f..75b891a2f 100644 --- a/docs/modules/getting-started/pages/running-the-operator.adoc +++ b/docs/modules/getting-started/pages/running-the-operator.adoc @@ -29,12 +29,19 @@ The chart's values and changelog are listed on https://artifacthub.io/packages/h The chart is published to the GitHub Container Registry as an OCI artifact. Nothing needs to be added or configured first, and no credentials are required. -Install the Solr Operator chart with the command below. -This will install the https://github.com/pravega/zookeeper-operator[Zookeeper Operator] by default. +First install the CRDs. This step is the same whichever chart source you use, and it is required: +the chart installs the https://github.com/pravega/zookeeper-operator[Zookeeper Operator] by default, +but does not create its `ZookeeperCluster` CRD. [source,bash,subs="verbatim,attributes"] ---- $ kubectl create -f https://solr.apache.org/operator/downloads/crds/v{operator-version}/all-with-dependencies.yaml +---- + +Then install the Solr Operator chart: + +[source,bash,subs="verbatim,attributes"] +---- $ helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version {operator-version} ---- From 434411def8fbc9977b3fb6f3a4f6135393de200a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sun, 25 Oct 2026 15:53:27 +0100 Subject: [PATCH 6/9] Replace the CRDs before either upgrade path The HTTPS alternative skipped the step its own introduction calls for. --- helm/solr-operator/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/helm/solr-operator/README.md b/helm/solr-operator/README.md index 3d290d620..6a0733721 100644 --- a/helm/solr-operator/README.md +++ b/helm/solr-operator/README.md @@ -74,11 +74,17 @@ _Note that the Helm chart version does not contain a `v` prefix, which the downl ### Upgrading the Solr Operator -If you are upgrading your Solr Operator deployment, you should always use a specific version of the chart and pre-install the Solr CRDS: +If you are upgrading your Solr Operator deployment, you should always use a specific version of the chart and pre-install the Solr CRDS. + +Upgrade the CRDs first. Helm does not update CRDs that are already installed, so this step is required whichever chart source you use: ```bash -# Upgrade the CRDs first, then the chart kubectl replace -f https://solr.apache.org/operator/downloads/crds/v0.10.0-prerelease/all-with-dependencies.yaml +``` + +Then upgrade the chart: + +```bash helm upgrade solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version 0.10.0-prerelease ``` From 0ce1a78023bf96b22254237c7934569162bfdba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sat, 24 Oct 2026 16:39:38 +0200 Subject: [PATCH 7/9] Do not commit to a version for retiring the HTTPS Helm repository 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. --- README.md | 2 +- .../getting-started/pages/local-tutorial.adoc | 4 ++-- .../getting-started/pages/running-the-operator.adoc | 4 ++-- docs/modules/upgrade-notes/pages/upgrade-notes.adoc | 12 ++++++------ helm/solr-operator/Chart.yaml | 2 +- helm/solr-operator/README.md | 4 ++-- helm/solr/Chart.yaml | 2 +- helm/solr/README.md | 4 ++-- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 2bf751a78..09bbdd8f9 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Please visit the following pages for documentation on using and developing the S - **Solr Operator**: `helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version ` - **Solr Cloud**: `helm install solr oci://ghcr.io/apache/solr-operator/helm/solr --version ` - Or via the deprecated HTTPS repository: [Helm Instructions via Artifact Hub](https://artifacthub.io/packages/helm/apache-solr/solr-operator) - - Charts are published to both locations throughout the 0.x releases. Starting with `v1.0.0`, charts will be published to the OCI registry only. + - Charts are published to both locations for now. The HTTPS repository will be retired in a future release, announced in advance. - The released helm charts and their instructions should be used for all safe and stable deployments. The charts found in `helm/` are not guaranteed to be compatible with the last stable release, and should only be used for development purposes. - [Running the Solr Operator](https://solr.apache.org/guide/operator/latest/getting-started/running-the-operator.html) diff --git a/docs/modules/getting-started/pages/local-tutorial.adoc b/docs/modules/getting-started/pages/local-tutorial.adoc index 42a86a50c..ae45d1095 100644 --- a/docs/modules/getting-started/pages/local-tutorial.adoc +++ b/docs/modules/getting-started/pages/local-tutorial.adoc @@ -96,8 +96,8 @@ $ helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operat [NOTE] ==== The charts are also still served from the HTTPS Helm repository at `https://solr.apache.org/charts`, -which is deprecated. Charts are published to both locations throughout the 0.x releases. -Starting with `v1.0.0`, charts will be published to the OCI registry only. +which is deprecated. Charts are published to both locations for now, and the HTTPS repository will be +retired in a future release. ==== _Note that the Helm chart version does not contain a `v` prefix, which the downloads version does. The Helm chart version is the only part of the Solr Operator release that does not use the `v` prefix._ diff --git a/docs/modules/getting-started/pages/running-the-operator.adoc b/docs/modules/getting-started/pages/running-the-operator.adoc index 75b891a2f..f12bde26f 100644 --- a/docs/modules/getting-started/pages/running-the-operator.adoc +++ b/docs/modules/getting-started/pages/running-the-operator.adoc @@ -56,8 +56,8 @@ $ helm repo update $ helm install solr-operator apache-solr/solr-operator --version {operator-version} ---- -Charts are published to both locations throughout the 0.x releases. -Starting with `v1.0.0`, charts will be published to the OCI registry only. +Charts are published to both locations for now, and the HTTPS repository will be retired in a +future release. ==== _Note that the Helm chart version does not contain a `v` prefix, which the downloads version does. The Helm chart version is the only part of the Solr Operator release that does not use the `v` prefix._ diff --git a/docs/modules/upgrade-notes/pages/upgrade-notes.adoc b/docs/modules/upgrade-notes/pages/upgrade-notes.adoc index 7b710a02f..3864ba986 100644 --- a/docs/modules/upgrade-notes/pages/upgrade-notes.adoc +++ b/docs/modules/upgrade-notes/pages/upgrade-notes.adoc @@ -114,12 +114,12 @@ Installing from an OCI registry requires no `helm repo add`, and no credentials. ==== The HTTPS Helm repository at `https://solr.apache.org/charts` is *deprecated*. -Charts are published to both the OCI registry and the HTTPS repository throughout the 0.x releases, -so there is no rush to migrate. Starting with `v1.0.0`, charts will be published to the OCI registry -only, and the HTTPS repository will receive no further releases. +Charts are published to both the OCI registry and the HTTPS repository for now, so there is no rush +to migrate. The HTTPS repository will be retired in a future release, and that will be announced in +advance in these upgrade notes. -If you install or upgrade the charts through automation, update it to use the `oci://` URLs above -before upgrading to `v1.0.0`. +If you install or upgrade the charts through automation, moving it to the `oci://` URLs above is +recommended. ==== == Installing the Solr Operator vs Solr CRDs @@ -165,7 +165,7 @@ _Note that the Helm chart version does not contain a `v` prefix, which the downl + The charts are published as OCI artifacts to `oci://ghcr.io/apache/solr-operator/helm`, alongside the existing HTTPS Helm repository. The HTTPS repository at `https://solr.apache.org/charts` is deprecated -and will receive no further releases starting with `v1.0.0`. +and will be retired in a future release. See <>. * *Logging now defaults to JSON format* diff --git a/helm/solr-operator/Chart.yaml b/helm/solr-operator/Chart.yaml index f078bf00b..c6147ae07 100644 --- a/helm/solr-operator/Chart.yaml +++ b/helm/solr-operator/Chart.yaml @@ -146,7 +146,7 @@ annotations: - name: Github PR url: https://github.com/apache/solr-operator/pull/814 - kind: deprecated - description: The HTTPS Helm repository at https://solr.apache.org/charts is deprecated. Charts are published to both it and the OCI registry throughout the 0.x releases, but starting with v1.0.0 they will be published to the OCI registry only + description: The HTTPS Helm repository at https://solr.apache.org/charts is deprecated. Charts are published to both it and the OCI registry for now, and the HTTPS repository will be retired in a future release links: - name: Github Issue url: https://github.com/apache/solr-operator/issues/813 diff --git a/helm/solr-operator/README.md b/helm/solr-operator/README.md index 6a0733721..e667ae233 100644 --- a/helm/solr-operator/README.md +++ b/helm/solr-operator/README.md @@ -36,8 +36,8 @@ If you do not wish to use the Zookeeper Operator, set: The Solr Operator Helm chart can be installed either from the OCI registry (recommended) or from the deprecated HTTPS repository. > **Note:** The HTTPS Helm repository at `https://solr.apache.org/charts` is deprecated. -> Charts are published to both locations throughout the 0.x releases. -> Starting with `v1.0.0`, charts will be published to the OCI registry only. +> Charts are published to both locations for now, and the HTTPS repository will be retired in a +> future release. #### Installation via OCI Registry (Recommended) diff --git a/helm/solr/Chart.yaml b/helm/solr/Chart.yaml index 192db5d32..aa22bdc91 100644 --- a/helm/solr/Chart.yaml +++ b/helm/solr/Chart.yaml @@ -68,7 +68,7 @@ annotations: - name: Github PR url: https://github.com/apache/solr-operator/pull/814 - kind: deprecated - description: The HTTPS Helm repository at https://solr.apache.org/charts is deprecated. Charts are published to both it and the OCI registry throughout the 0.x releases, but starting with v1.0.0 they will be published to the OCI registry only + description: The HTTPS Helm repository at https://solr.apache.org/charts is deprecated. Charts are published to both it and the OCI registry for now, and the HTTPS repository will be retired in a future release links: - name: Github Issue url: https://github.com/apache/solr-operator/issues/813 diff --git a/helm/solr/README.md b/helm/solr/README.md index 0707caf72..3bc22a5e2 100644 --- a/helm/solr/README.md +++ b/helm/solr/README.md @@ -36,8 +36,8 @@ There may be breaking changes between the version you are using and the version The Solr Helm chart can be installed either from the OCI registry (recommended) or from the deprecated HTTPS helm repository. > **Note:** The HTTPS Helm repository at `https://solr.apache.org/charts` is deprecated. -> Charts are published to both locations throughout the 0.x releases. -> Starting with `v1.0.0`, charts will be published to the OCI registry only. +> Charts are published to both locations for now, and the HTTPS repository will be retired in a +> future release. To install a SolrCloud for the first time in your cluster, you can use the latest version or a specific version: From 6418d1bd2325b9753376d6a0f109d5e643c0c22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sat, 24 Oct 2026 16:43:25 +0200 Subject: [PATCH 8/9] State the HTTPS deprecation once, and link to it from everywhere else 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. --- README.md | 3 +-- docs/modules/getting-started/pages/local-tutorial.adoc | 5 ++--- .../modules/getting-started/pages/running-the-operator.adoc | 5 ++--- helm/solr-operator/README.md | 6 +----- helm/solr/README.md | 6 +----- 5 files changed, 7 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 09bbdd8f9..0c554e9de 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,7 @@ Please visit the following pages for documentation on using and developing the S - The Helm charts are published as OCI artifacts (recommended): - **Solr Operator**: `helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator --version ` - **Solr Cloud**: `helm install solr oci://ghcr.io/apache/solr-operator/helm/solr --version ` - - Or via the deprecated HTTPS repository: [Helm Instructions via Artifact Hub](https://artifacthub.io/packages/helm/apache-solr/solr-operator) - - Charts are published to both locations for now. The HTTPS repository will be retired in a future release, announced in advance. + - Or via the [deprecated HTTPS repository](https://solr.apache.org/guide/operator/latest/upgrade-notes/upgrade-notes.html#where-the-helm-charts-are-published) - The released helm charts and their instructions should be used for all safe and stable deployments. The charts found in `helm/` are not guaranteed to be compatible with the last stable release, and should only be used for development purposes. - [Running the Solr Operator](https://solr.apache.org/guide/operator/latest/getting-started/running-the-operator.html) diff --git a/docs/modules/getting-started/pages/local-tutorial.adoc b/docs/modules/getting-started/pages/local-tutorial.adoc index ae45d1095..42bdabe5a 100644 --- a/docs/modules/getting-started/pages/local-tutorial.adoc +++ b/docs/modules/getting-started/pages/local-tutorial.adoc @@ -95,9 +95,8 @@ $ helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operat [NOTE] ==== -The charts are also still served from the HTTPS Helm repository at `https://solr.apache.org/charts`, -which is deprecated. Charts are published to both locations for now, and the HTTPS repository will be -retired in a future release. +The charts are also still served from the deprecated HTTPS Helm repository. +See xref:upgrade-notes:upgrade-notes.adoc#where-the-helm-charts-are-published[Where the Helm charts are published]. ==== _Note that the Helm chart version does not contain a `v` prefix, which the downloads version does. The Helm chart version is the only part of the Solr Operator release that does not use the `v` prefix._ diff --git a/docs/modules/getting-started/pages/running-the-operator.adoc b/docs/modules/getting-started/pages/running-the-operator.adoc index f12bde26f..920bade97 100644 --- a/docs/modules/getting-started/pages/running-the-operator.adoc +++ b/docs/modules/getting-started/pages/running-the-operator.adoc @@ -47,7 +47,8 @@ $ helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operat [NOTE] ==== -The chart is also still served from the HTTPS Helm repository at `https://solr.apache.org/charts`, which is deprecated: +The chart is also still served from the deprecated HTTPS Helm repository +(see xref:upgrade-notes:upgrade-notes.adoc#where-the-helm-charts-are-published[Where the Helm charts are published]): [source,bash,subs="verbatim,attributes"] ---- @@ -56,8 +57,6 @@ $ helm repo update $ helm install solr-operator apache-solr/solr-operator --version {operator-version} ---- -Charts are published to both locations for now, and the HTTPS repository will be retired in a -future release. ==== _Note that the Helm chart version does not contain a `v` prefix, which the downloads version does. The Helm chart version is the only part of the Solr Operator release that does not use the `v` prefix._ diff --git a/helm/solr-operator/README.md b/helm/solr-operator/README.md index e667ae233..e43df74b3 100644 --- a/helm/solr-operator/README.md +++ b/helm/solr-operator/README.md @@ -33,11 +33,7 @@ If you do not wish to use the Zookeeper Operator, set: ### Installing the Chart -The Solr Operator Helm chart can be installed either from the OCI registry (recommended) or from the deprecated HTTPS repository. - -> **Note:** The HTTPS Helm repository at `https://solr.apache.org/charts` is deprecated. -> Charts are published to both locations for now, and the HTTPS repository will be retired in a -> future release. +The Solr Operator Helm chart can be installed either from the OCI registry (recommended) or from the [deprecated HTTPS repository](https://solr.apache.org/guide/operator/latest/upgrade-notes/upgrade-notes.html#where-the-helm-charts-are-published). #### Installation via OCI Registry (Recommended) diff --git a/helm/solr/README.md b/helm/solr/README.md index 3bc22a5e2..342d9fb52 100644 --- a/helm/solr/README.md +++ b/helm/solr/README.md @@ -33,11 +33,7 @@ There may be breaking changes between the version you are using and the version ### Installing the Chart -The Solr Helm chart can be installed either from the OCI registry (recommended) or from the deprecated HTTPS helm repository. - -> **Note:** The HTTPS Helm repository at `https://solr.apache.org/charts` is deprecated. -> Charts are published to both locations for now, and the HTTPS repository will be retired in a -> future release. +The Solr Helm chart can be installed either from the OCI registry (recommended) or from the [deprecated HTTPS helm repository](https://solr.apache.org/guide/operator/latest/upgrade-notes/upgrade-notes.html#where-the-helm-charts-are-published). To install a SolrCloud for the first time in your cluster, you can use the latest version or a specific version: From 1c9e864d2ba5286d492afb3abe3ba06d12f2046e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sun, 25 Oct 2026 16:01:14 +0100 Subject: [PATCH 9/9] Add the repo to every HTTPS chart block Installing via OCI never registers apache-solr, so each HTTPS alternative has to add it to stand on its own. --- helm/solr-operator/README.md | 2 ++ helm/solr/README.md | 1 + 2 files changed, 3 insertions(+) diff --git a/helm/solr-operator/README.md b/helm/solr-operator/README.md index e43df74b3..b0677199a 100644 --- a/helm/solr-operator/README.md +++ b/helm/solr-operator/README.md @@ -87,6 +87,7 @@ helm upgrade solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator Or, from the deprecated HTTPS repository: ```bash +helm repo add apache-solr https://solr.apache.org/charts helm upgrade solr-operator apache-solr/solr-operator --version 0.10.0-prerelease ``` @@ -128,6 +129,7 @@ helm install solr-operator oci://ghcr.io/apache/solr-operator/helm/solr-operator Or, from the deprecated HTTPS repository: ```bash +helm repo add apache-solr https://solr.apache.org/charts helm install solr-operator apache-solr/solr-operator --version 0.10.0-prerelease --skip-crds --namespace solr ``` diff --git a/helm/solr/README.md b/helm/solr/README.md index 342d9fb52..d234131a6 100644 --- a/helm/solr/README.md +++ b/helm/solr/README.md @@ -65,6 +65,7 @@ helm upgrade example oci://ghcr.io/apache/solr-operator/helm/solr --version 0.10 Or, from the deprecated HTTPS Helm repository: ```bash +helm repo add apache-solr https://solr.apache.org/charts helm upgrade example apache-solr/solr --version 0.10.0-prerelease --reuse-values --set image.tag=9.10.0 ```