Skip to content

Commit

Permalink
Add next minor version v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HoustonPutman committed Oct 10, 2023
1 parent 0326614 commit 0070bdc
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 135 deletions.
2 changes: 1 addition & 1 deletion config/crd/bases/solr.apache.org_solrbackups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operator.solr.apache.org/version: v0.8.0-prerelease
operator.solr.apache.org/version: v0.9.0-prerelease
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/solr.apache.org_solrclouds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operator.solr.apache.org/version: v0.8.0-prerelease
operator.solr.apache.org/version: v0.9.0-prerelease
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operator.solr.apache.org/version: v0.8.0-prerelease
operator.solr.apache.org/version: v0.9.0-prerelease
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down
8 changes: 4 additions & 4 deletions docs/local_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.0-prerelease/all-with-dependencies.yaml
$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.9.0-prerelease/all-with-dependencies.yaml
# Install the Solr operator and Zookeeper Operator
$ helm install solr-operator apache-solr/solr-operator --version 0.8.0-prerelease
$ helm install solr-operator apache-solr/solr-operator --version 0.9.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._
Expand Down Expand Up @@ -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.8.0-prerelease \
helm install example-solr apache-solr/solr --version 0.9.0-prerelease \
--set image.tag=8.3 \
--set solrOptions.javaMemory="-Xms300m -Xmx300m" \
--set addressability.external.method=Ingress \
Expand Down Expand Up @@ -211,7 +211,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.8.0-prerelease \
helm upgrade example-solr apache-solr/solr --version 0.9.0-prerelease \
--reuse-values \
--set image.tag=8.7
Expand Down
4 changes: 2 additions & 2 deletions docs/running-the-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.0-prerelease/all-with-dependencies.yaml
$ helm install solr-operator apache-solr/solr-operator --version 0.8.0-prerelease
$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.9.0-prerelease/all-with-dependencies.yaml
$ helm install solr-operator apache-solr/solr-operator --version 0.9.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._
Expand Down
4 changes: 2 additions & 2 deletions docs/upgrade-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,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.8.0-prerelease/all-with-dependencies.yaml"
helm upgrade solr-operator apache-solr/solr-operator --version 0.8.0-prerelease
kubectl replace -f "http://solr.apache.org/operator/downloads/crds/v0.9.0-prerelease/all-with-dependencies.yaml"
helm upgrade solr-operator apache-solr/solr-operator --version 0.9.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._
Expand Down
113 changes: 7 additions & 106 deletions helm/solr-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
apiVersion: v2
name: solr-operator
description: The Solr Operator enables easy management of Solr resources within Kubernetes.
version: 0.8.0-prerelease
appVersion: v0.8.0-prerelease
version: 0.9.0-prerelease
appVersion: v0.9.0-prerelease
kubeVersion: ">= 1.22.0-0"
home: https://solr.apache.org/operator
sources:
Expand Down Expand Up @@ -54,118 +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 of Solr is now 8.11
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/616
- name: Version Compatibility Documentation
url: https://apache.github.io/solr-operator/docs/upgrade-notes.html#solr-versions
- kind: changed
description: The minimum supported version of Kubernetes is now v1.22
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/604
- name: Github PR
url: https://github.com/apache/solr-operator/pull/612
- kind: added
description: Ability to customize the SecurityContext for the solr-operator pod
links:
- name: Github PR
url: https://github.com/apache/solr-operator/pull/566
- kind: added
description: Scale down of Solr Pods includes Replica migration by default.
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/559
- name: Github PR
url: https://github.com/apache/solr-operator/pull/561
- name: Documentation
url: https://apache.github.io/solr-operator/docs/solr-cloud/scaling.html#solr-pod-scale-down
- kind: added
description: Scale up of Solr Pods includes Replica migration by default, for Solr 9.3+.
description: Addition 1
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/567
- name: Github PR
url: https://github.com/apache/solr-operator/pull/575
- name: Documentation
url: https://apache.github.io/solr-operator/docs/solr-cloud/scaling.html#solr-pod-scale-up
url: https://github.com/issue-url
- kind: changed
description: The Solr Operator is now built with Go 1.20
description: Change 2
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/570
- name: Github PR
url: https://github.com/apache/solr-operator/pull/578
- kind: changed
description: Managed Rolling Updates are now computed via a Cluster Lock, like scaling operations.
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/560
- name: Github PR
url: https://github.com/apache/solr-operator/pull/586
- name: Documentation
url: https://apache.github.io/solr-operator/docs/solr-cloud/cluster-operations.html
- kind: added
description: Cluster Operation Locks now give other operations a chance to run, every minute, to eliminate the risk of deadlocks
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/560
- name: Github PR
url: https://github.com/apache/solr-operator/pull/596
- name: Documentation
url: https://apache.github.io/solr-operator/docs/solr-cloud/cluster-operations.html#avoiding-deadlocks
- kind: added
description: Fix a bug with Rolling Restarts with ephemeral data
links:
- name: Github PR
url: https://github.com/apache/solr-operator/pull/614
- kind: added
description: MountedDir TLS now accepts plaintext passwords, for use with the Cert Manager CSI Driver
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/603
- name: Github PR
url: https://github.com/apache/solr-operator/pull/608
- kind: changed
description: Remove Service AppProtocol for non-TLS SolrClouds, in order to support http and http2
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/640
- name: Github PR
url: https://github.com/apache/solr-operator/pull/641
- kind: added
description: SolrClouds using ephemeral data will now have their replicas rebalanced after a rolling update.
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/615
- name: Github PR
url: https://github.com/apache/solr-operator/pull/625
- kind: added
description: The default solr.xml now includes a `maxBooleanClauses` value of `${solr.max.booleanClauses:1024}`.
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/630
- name: Github PR
url: https://github.com/apache/solr-operator/pull/631
- kind: added
description: The default solr.xml now includes the necessary boilerplate to specify additional `sharedLib` and `allowPath` values (via the `solr.sharedLib` and `solr.allowPaths` system properties respectively). The `metricsEnabled` system property can also be used to toggle Solr's metrics processing (defaults to `true`). Lastly, the `solr.port.advertise` property can be used to control the port Solr is advertised under in `/live_nodes` and other cluster state. Users providing their own `solr.xml` should replace any references to the `hostPort` system property with `solr.port.advertise`, as support for the `hostPort` placeholder will be removed in a future release.
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/635
- name: Github PR
url: https://github.com/apache/solr-operator/pull/636
- kind: changed
description: Solr's `/admin/info/health` API is now used for readiness probes by default.
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/628
- name: Github PR
url: https://github.com/apache/solr-operator/pull/629
url: https://github.com/pr-url
artifacthub.io/images: |
- name: solr-operator
image: apache/solr-operator:v0.8.0-prerelease
image: apache/solr-operator:v0.9.0-prerelease
artifacthub.io/crds: |
- kind: SolrCloud
version: v1beta1
Expand Down
10 changes: 5 additions & 5 deletions helm/solr-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.0-prerelease/all-with-dependencies.yaml
helm install solr-operator apache-solr/solr-operator --version 0.8.0-prerelease
kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.9.0-prerelease/all-with-dependencies.yaml
helm install solr-operator apache-solr/solr-operator --version 0.9.0-prerelease
```

The command deploys the solr-operator on the Kubernetes cluster with the default configuration.
Expand All @@ -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.8.0-prerelease/all-with-dependencies.yaml
helm upgrade solr-operator apache-solr/solr-operator --version 0.8.0-prerelease
kubectl replace -f https://solr.apache.org/operator/downloads/crds/v0.9.0-prerelease/all-with-dependencies.yaml
helm upgrade solr-operator apache-solr/solr-operator --version 0.9.0-prerelease
```

#### Namespaces
Expand Down Expand Up @@ -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.8.0-prerelease"` | The tag/version of the Solr Operator to run |
| image.tag | string | `"v0.9.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 | `""` | |
Expand Down
6 changes: 3 additions & 3 deletions helm/solr-operator/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operator.solr.apache.org/version: v0.8.0-prerelease
operator.solr.apache.org/version: v0.9.0-prerelease
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down Expand Up @@ -266,7 +266,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operator.solr.apache.org/version: v0.8.0-prerelease
operator.solr.apache.org/version: v0.9.0-prerelease
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down Expand Up @@ -17085,7 +17085,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operator.solr.apache.org/version: v0.8.0-prerelease
operator.solr.apache.org/version: v0.9.0-prerelease
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down
2 changes: 1 addition & 1 deletion helm/solr-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ replicaCount: 1

image:
repository: apache/solr-operator
tag: v0.8.0-prerelease
tag: v0.9.0-prerelease
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down
15 changes: 9 additions & 6 deletions helm/solr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
apiVersion: v2
name: solr
description: A SolrCloud cluster running on Kubernetes via the Solr Operator
version: 0.8.0-prerelease
version: 0.9.0-prerelease
appVersion: 8.11.1
kubeVersion: ">= 1.22.0-0"
home: https://solr.apache.org
Expand All @@ -41,13 +41,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 of Solr is now 8.11
- kind: added
description: Addition 1
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/616
- name: Version Compatibility Documentation
url: https://apache.github.io/solr-operator/docs/upgrade-notes.html#solr-versions
url: https://github.com/issue-url
- kind: changed
description: Change 2
links:
- name: Github PR
url: https://github.com/pr-url
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/recommendations: |
- url: https://artifacthub.io/packages/helm/apache-solr/solr-operator
Expand Down
4 changes: 2 additions & 2 deletions helm/solr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ There may be breaking changes between the version you are using and the version
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:

```bash
helm install example apache-solr/solr --version 0.8.0-prerelease --set image.tag=8.8
helm install example apache-solr/solr --version 0.9.0-prerelease --set image.tag=8.8
```

The command deploys a SolrCloud object on the Kubernetes cluster with the default configuration.
Expand All @@ -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.8.0-prerelease --reuse-values --set image.tag=8.11
helm upgrade example apache-solr/solr --version 0.9.0-prerelease --reuse-values --set image.tag=8.11
```

The upgrade will be done according to the `upgradeStrategy.method` chosen in the values.
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package version

var (
// Version information for the Solr Operator
Version = "v0.8.0"
Version = "v0.9.0"
VersionSuffix = "prerelease"
BuildTime string
GitSHA string
Expand Down

0 comments on commit 0070bdc

Please sign in to comment.