You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2021/11/10 21:02:21 UTC

[solr-operator] branch main updated: Add next minor version v0.6.0

This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new ce25e73  Add next minor version v0.6.0
ce25e73 is described below

commit ce25e735da5d3101bcc7763ee37d5e5c547caad9
Author: Houston Putman <ho...@apache.org>
AuthorDate: Wed Nov 10 16:02:19 2021 -0500

    Add next minor version v0.6.0
---
 docs/local_tutorial.md         |   8 +--
 docs/running-the-operator.md   |   4 +-
 docs/upgrade-notes.md          |   4 +-
 helm/solr-operator/Chart.yaml  | 149 ++---------------------------------------
 helm/solr-operator/README.md   |  10 +--
 helm/solr-operator/values.yaml |   2 +-
 helm/solr/Chart.yaml           |  20 ++----
 helm/solr/README.md            |   4 +-
 version/version.go             |   2 +-
 9 files changed, 31 insertions(+), 172 deletions(-)

diff --git a/docs/local_tutorial.md b/docs/local_tutorial.md
index d4713f0..f48baa8 100644
--- a/docs/local_tutorial.md
+++ b/docs/local_tutorial.md
@@ -90,9 +90,9 @@ This will install the [Zookeeper Operator](https://github.com/pravega/zookeeper-
 
 ```bash
 # Install the Solr & Zookeeper CRDs
-$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.5.0-prerelease/all-with-dependencies.yaml
+$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.6.0-prerelease/all-with-dependencies.yaml
 # Install the Solr operator and Zookeeper Operator
-$ helm install solr-operator apache-solr/solr-operator --version 0.5.0-prerelease
+$ helm install solr-operator apache-solr/solr-operator --version 0.6.0-prerelease
 ```
 
 _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._
@@ -123,7 +123,7 @@ To start a Solr Cloud cluster, we will create a yaml that will tell the Solr Ope
 
 ```bash
 # Create a 3-node cluster v8.3 with 300m Heap each:
-helm install example-solr apache-solr/solr --version 0.5.0-prerelease \
+helm install example-solr apache-solr/solr --version 0.6.0-prerelease \
   --set image.tag=8.3 \
   --set solrOptions.javaMemory="-Xms300m -Xmx300m" \
   --set addressability.external.method=Ingress \
@@ -210,7 +210,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 0.5.0-prerelease \
+helm upgrade example-solr apache-solr/solr --version 0.6.0-prerelease \
   --reuse-values \
   --set image.tag=8.7
 
diff --git a/docs/running-the-operator.md b/docs/running-the-operator.md
index e4b0330..a3e274e 100644
--- a/docs/running-the-operator.md
+++ b/docs/running-the-operator.md
@@ -38,8 +38,8 @@ Next, install the Solr Operator chart. Note this is using Helm v3, use the offic
 This will install the [Zookeeper Operator](https://github.com/pravega/zookeeper-operator) by default.
 
 ```bash
-$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.5.0-prerelease/all-with-dependencies.yaml
-$ helm install solr-operator apache-solr/solr-operator --version 0.5.0-prerelease
+$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.6.0-prerelease/all-with-dependencies.yaml
+$ helm install solr-operator apache-solr/solr-operator --version 0.6.0-prerelease
 ```
 
 _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/upgrade-notes.md b/docs/upgrade-notes.md
index 51b1772..770beb2 100644
--- a/docs/upgrade-notes.md
+++ b/docs/upgrade-notes.md
@@ -97,8 +97,8 @@ If you are using the Solr Helm chart to deploy the Zookeeper operator, then you
 
 ```bash
 # 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/v0.5.0-prerelease/all-with-dependencies.yaml"
-helm upgrade solr-operator apache-solr/solr-operator --version 0.5.0-prerelease
+kubectl replace -f "http://solr.apache.org/operator/downloads/crds/v0.6.0-prerelease/all-with-dependencies.yaml"
+helm upgrade solr-operator apache-solr/solr-operator --version 0.6.0-prerelease
 ```
 
 _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/Chart.yaml b/helm/solr-operator/Chart.yaml
index 823132e..2f08db6 100644
--- a/helm/solr-operator/Chart.yaml
+++ b/helm/solr-operator/Chart.yaml
@@ -16,8 +16,8 @@
 apiVersion: v2
 name: solr-operator
 description: The Solr Operator enables easy management of Solr resources within Kubernetes.
-version: 0.5.0-prerelease
-appVersion: v0.5.0-prerelease
+version: 0.6.0-prerelease
+appVersion: v0.6.0-prerelease
 kubeVersion: ">= 1.19.0-0"
 home: https://solr.apache.org/operator
 sources:
@@ -54,154 +54,19 @@ annotations:
   # Add change log for a single release here.
   # Allowed syntax is described at: https://artifacthub.io/docs/topics/annotations/helm/#example
   artifacthub.io/changes: |
-    - kind: changed
-      description: The minimum supported version for Kubernetes is now v1.19. The Solr Operator is no longer using deprecated APIs, such as networking.k8s.io/v1beta1 for Ingresses.
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/277
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/321
-    - kind: changed
-      description: The Solr Operator has upgraded its Kubebuilder dependency to v3.
-      links:
-        - name: Bug Report Issue
-          url: https://github.com/apache/solr-operator/issues/320
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/321
-    - kind: fixed
-      description: The SolrPrometheusExporter controller now watches for changes in referenced Solr Clouds, so the referenced ZKConnectionString is updated if it changes within the SolrCloud status.
-      links:
-        - name: Bug Report Issue
-          url: https://github.com/apache/solr-operator/issues/325
-        - name: Github PR (Large and almost entirely unrelated)
-          url: https://github.com/apache/solr-operator/pull/321
-    - kind: deprecated
-      description: The legacy backup options (SolrCloud.spec.dataStorage.backupRestoreOptions) have been deprecated. Please use SolrCloud.spec.backupRepositories instead.
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/301
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/302
-        - name: Backup Documentation
-          url: https://apache.github.io/solr-operator/docs/solr-backup/
-    - kind: added
-      description: Introduced the ability to use GCS Backup Repositories with SolrCloud and SolrBackup.
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/301
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/302
-        - name: Backup Documentation
-          url: https://apache.github.io/solr-operator/docs/solr-backup#gcs-backup-repositories
     - kind: added
-      description: Introduced the ability to use S3 Backup Repositories with SolrCloud and SolrBackup.
+      description: Addition 1
       links:
         - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/328
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/345
-        - name: Solr S3 Repository Documentation
-          url: https://solr.apache.org/guide/8_10/making-and-restoring-backups.html#s3backuprepository
-        - name: Backup Documentation
-          url: https://apache.github.io/solr-operator/docs/solr-backup#s3-backup-repositories
-    - kind: added
-      description: Customize the Lifecycle for Solr and PrometheusExporter containers
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/322
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/324
-    - kind: added
-      description: Add support for using Solr Modules (contrib) and additional libraries
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/329
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/332
-        - name: Solr Modules
-          url: https://github.com/apache/solr/tree/main/solr/contrib
-    - kind: added
-      description: SolrBackups can now have a custom location specified to store the backup
-      links:
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/345
-    - kind: fixed
-      description: Fix for managed restarts across connected SolrCloud resources.
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/348
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/349
-    - kind: added
-      description: Ability to use topologySpreadConstraints for SolrCloud and SolrPrometheusExporter
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/53
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/350
-        - name: Topology Spread Constraints Documentation
-          url: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
-    - kind: added
-      description: Ability to bootstrap security configuration from a security.json in a user-supplied secret
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/355
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/356
-    - kind: added
-      description: Export default Solr Operator metrics, and enable when using the Helm chart
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/307
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/360
-    - kind: added
-      description: Ability to set the IngressClassName for v1 Ingress resources.
-      links:
-        - name: Github Issue (Ingress v1)
-          url: https://github.com/apache/solr-operator/issues/277
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/363
-    - kind: removed
-      description: Removed "persistence" option for SolrBackups. Instead please use the S3 or GCP Backup Repositories (Solr 8.9+)
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/347
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/357
-    - kind: added
-      description: Support for more Zookeeper Pod customization options
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/352
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/361
-    - kind: added
-      description: Separate SolrCloud backup ready status by backup repository
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/326
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/358
-    - kind: added
-      description: Scheduled/Recurring SolrBackup support
-      links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/303
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/359
-        - name: SolrBackup Documentation
-          url: https://apache.github.io/solr-operator/docs/solr-backup#recurring-backups
+          url: https://github.com/issue-url
     - kind: changed
-      description: Solr Operator Leader Election enabled by default
+      description: Change 2
       links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/366
         - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/367
+          url: https://github.com/pr-url
   artifacthub.io/images: |
     - name: solr-operator
-      image: apache/solr-operator:v0.5.0-prerelease
+      image: apache/solr-operator:v0.6.0-prerelease
   artifacthub.io/crds: |
     - kind: SolrCloud
       version: v1beta1
diff --git a/helm/solr-operator/README.md b/helm/solr-operator/README.md
index 5c1582e..b904577 100644
--- a/helm/solr-operator/README.md
+++ b/helm/solr-operator/README.md
@@ -43,8 +43,8 @@ helm repo add apache-solr https://solr.apache.org/charts
 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:
 
 ```bash
-kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.5.0-prerelease/all-with-dependencies.yaml
-helm install solr-operator apache-solr/solr-operator --version 0.5.0-prerelease
+kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.6.0-prerelease/all-with-dependencies.yaml
+helm install solr-operator apache-solr/solr-operator --version 0.6.0-prerelease
 ```
 
 The command deploys the solr-operator on the Kubernetes cluster with the default configuration.
@@ -57,8 +57,8 @@ _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
-kubectl replace -f https://solr.apache.org/operator/downloads/crds/v0.5.0-prerelease/all-with-dependencies.yaml
-helm upgrade solr-operator apache-solr/solr-operator --version 0.5.0-prerelease
+kubectl replace -f https://solr.apache.org/operator/downloads/crds/v0.6.0-prerelease/all-with-dependencies.yaml
+helm upgrade solr-operator apache-solr/solr-operator --version 0.6.0-prerelease
 ```
 
 #### Namespaces
@@ -172,7 +172,7 @@ The command removes all the Kubernetes components associated with the chart and
 | Key | Type | Default | Description |
 |-----|------|---------|-------------|
 | image.repository | string | `"apache/solr-operator"` | The repository of the Solr Operator image |
-| image.tag | string | `"v0.5.0-prerelease"` | The tag/version of the Solr Operator to run |
+| image.tag | string | `"v0.6.0-prerelease"` | The tag/version of the Solr Operator to run |
 | image.pullPolicy | string | `"IfNotPresent"` |  |
 | fullnameOverride | string | `""` | A custom name for the Solr Operator Deployment |
 | nameOverride | string | `""` |  |
diff --git a/helm/solr-operator/values.yaml b/helm/solr-operator/values.yaml
index 10cc86a..33c18c4 100644
--- a/helm/solr-operator/values.yaml
+++ b/helm/solr-operator/values.yaml
@@ -21,7 +21,7 @@ replicaCount: 1
 
 image:
   repository: apache/solr-operator
-  tag: v0.5.0-prerelease
+  tag: v0.6.0-prerelease
   pullPolicy: IfNotPresent
 
 nameOverride: ""
diff --git a/helm/solr/Chart.yaml b/helm/solr/Chart.yaml
index db491f7..422e123 100644
--- a/helm/solr/Chart.yaml
+++ b/helm/solr/Chart.yaml
@@ -16,7 +16,7 @@
 apiVersion: v2
 name: solr
 description: A SolrCloud cluser running on Kubernetes via the Solr Operator
-version: 0.5.0-prerelease
+version: 0.6.0-prerelease
 appVersion: 8.9.0
 kubeVersion: ">= 1.19.0-0"
 home: https://solr.apache.org
@@ -40,22 +40,16 @@ annotations:
   # Add change log for a single release here.
   # Allowed syntax is described at: https://artifacthub.io/docs/topics/annotations/helm/#example
   artifacthub.io/changes: |
-    - kind: changed
-      description: The minimum supported version for Kubernetes is now v1.19.
+    - kind: added
+      description: Addition 1
       links:
         - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/277
-        - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/321
-    - kind: deprecated
-      description: The legacy backup options (dataStorage.backupRestoreOptions) have been deprecated. Please use backupRepositories instead.
+          url: https://github.com/issue-url
+    - kind: changed
+      description: Change 2
       links:
-        - name: Github Issue
-          url: https://github.com/apache/solr-operator/issues/301
         - name: Github PR
-          url: https://github.com/apache/solr-operator/pull/302
-        - name: Backup Documentation
-          url: https://apache.github.io/solr-operator/docs/solr-backup/
+          url: https://github.com/pr-url
   artifacthub.io/containsSecurityUpdates: "false"
   artifacthub.io/recommendations: |
     - url: https://artifacthub.io/packages/helm/apache-solr/solr-operator
diff --git a/helm/solr/README.md b/helm/solr/README.md
index 5f642f7..2dd8550 100644
--- a/helm/solr/README.md
+++ b/helm/solr/README.md
@@ -38,7 +38,7 @@ There may be breaking changes between the version you are using and the version
 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:
 
 ```bash
-helm install example apache-solr/solr --version 0.5.0-prerelease --set image.tag=8.8.0
+helm install example apache-solr/solr --version 0.6.0-prerelease --set image.tag=8.8.0
 ```
 
 The command deploys a SolrCloud object on the Kubernetes cluster with the default configuration.
@@ -52,7 +52,7 @@ _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 apache-solr/solr --version 0.5.0-prerelease --reuse-values --set image.tag=8.9.0
+helm upgrade example apache-solr/solr --version 0.6.0-prerelease --reuse-values --set image.tag=8.9.0
 ```
 
 The upgrade will be done according to the `upgradeStrategy.method` chosen in the values.
diff --git a/version/version.go b/version/version.go
index 877b63e..c63d27f 100644
--- a/version/version.go
+++ b/version/version.go
@@ -19,7 +19,7 @@ package version
 
 var (
 	// Version information for the Solr Operator
-	Version       = "v0.5.0"
+	Version       = "v0.6.0"
 	VersionSuffix = "prerelease"
 	BuildTime     string
 	GitSHA        string