Skip to content

Commit

Permalink
Solr Operator v0.7.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
HoustonPutman committed Apr 19, 2023
1 parent d5a5e9f commit 0e16c6b
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 168 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.7.0-prerelease
operator.solr.apache.org/version: v0.7.0
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.7.0-prerelease
operator.solr.apache.org/version: v0.7.0
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.7.0-prerelease
operator.solr.apache.org/version: v0.7.0
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.7.0-prerelease/all-with-dependencies.yaml
$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.7.0/all-with-dependencies.yaml
# Install the Solr operator and Zookeeper Operator
$ helm install solr-operator apache-solr/solr-operator --version 0.7.0-prerelease
$ helm install solr-operator apache-solr/solr-operator --version 0.7.0
```

_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.7.0-prerelease \
helm install example-solr apache-solr/solr --version 0.7.0 \
--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.7.0-prerelease \
helm upgrade example-solr apache-solr/solr --version 0.7.0 \
--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.7.0-prerelease/all-with-dependencies.yaml
$ helm install solr-operator apache-solr/solr-operator --version 0.7.0-prerelease
$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.7.0/all-with-dependencies.yaml
$ helm install solr-operator apache-solr/solr-operator --version 0.7.0
```

_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 @@ -101,8 +101,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.7.0-prerelease/all-with-dependencies.yaml"
helm upgrade solr-operator apache-solr/solr-operator --version 0.7.0-prerelease
kubectl replace -f "http://solr.apache.org/operator/downloads/crds/v0.7.0/all-with-dependencies.yaml"
helm upgrade solr-operator apache-solr/solr-operator --version 0.7.0
```

_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
148 changes: 6 additions & 142 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.7.0-prerelease
appVersion: v0.7.0-prerelease
version: 0.7.0
appVersion: v0.7.0
kubeVersion: ">= 1.21.0-0"
home: https://solr.apache.org/operator
sources:
Expand All @@ -42,157 +42,21 @@ annotations:
artifacthub.io/category: "database"
artifacthub.io/operator: "true"
artifacthub.io/operatorCapabilities: Full Lifecycle
artifacthub.io/prerelease: "true"
artifacthub.io/prerelease: "false"
artifacthub.io/recommendations: |
- url: https://artifacthub.io/packages/helm/apache-solr/solr
artifacthub.io/links: |
- name: "Tutorials"
url: https://solr.apache.org/operator/resources#tutorials
artifacthub.io/signKey: |
fingerprint: <fingerprint>
fingerprint: 50E3EE1C91C7E0CB4DFB007B369424FC98F3F6EC
url: https://dist.apache.org/repos/dist/release/solr/KEYS
# 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: Minimum Kubernetes version has been upped to 1.21
links:
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/473
- kind: changed
description: The required Zookeeper Operator version has been upgraded to v0.2.15
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/549
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/550
- name: Zookeeper Operator v0.2.15 Release
url: https://github.com/pravega/zookeeper-operator/releases/tag/v0.2.15
- kind: fixed
description: Fix bug with named PVCs
links:
- name: Github Issue
url: https://github.com/apache/solr-operator/issues/479
- name: Github PR
url: https://github.com/apache/solr-operator/pull/481
- kind: added
description: Support custom annotations on created ServiceAccount
links:
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/480
- kind: added
description: SolrClouds now have PodDisruptionBudgets enabled
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/471
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/473
- name: PodDisruptionBudget Documentation
url: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
- kind: fixed
description: Fix namespace support for helm installation and leader election
links:
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/508
- kind: changed
description: Zookeeper images now use the IfNotPresent pullPolicy by default
links:
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/512/files
- kind: fixed
description: Fix bug in non-recurring SolrBackups
links:
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/509
- kind: fixed
description: Fix issue where Zookeeper specific labels are not propagated to Zookeeper pods
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/490
- name: Zookeeper Operator Issue
url: https://github.com/pravega/zookeeper-operator/issues/511
- kind: fixed
description: Fix SolrBackup not taking backups when the collections field is omitted
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/515
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/516
- kind: changed
description: Use better default startup, liveness and readiness probes for SolrCloud and SolrPrometheusExporter
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/510
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/511
- kind: added
description: The SolrCloud common service now removes nodes that are about to be upgraded
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/529
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/530
- name: Feature Documentation
url: https://apache.github.io/solr-operator/docs/solr-cloud/managed-updates.html#pod-readiness-during-updates
- kind: fixed
description: Don't give port annotation for PrometheusExporter, let Prometheus find the port itself
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/483
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/539
- kind: fixed
description: Solr resource status are now patched instead of updated, this should reduce "error" logging in the operator.
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/544
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/545
- kind: added
description: Support custom Zookeeper probes
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/477
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/546
- kind: fixed
description: Avoid backup directory chown when directories are already writable
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/537
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/548
- kind: added
description: Added Option to enable/disable the PodDisruptionBudget for the cluster.
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/538
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/540
- kind: removed
description: Options deprecated in v0.6.0 have been been removed.
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/553
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/554
- kind: fixed
description: Use correct user & group for chmod command in cp-solr-xml init container
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/519
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/520
- kind: added
description: Add missing ZookeeperCluster customization options.
links:
- name: GitHub Issue
url: https://github.com/apache/solr-operator/issues/557
- name: GitHub PR
url: https://github.com/apache/solr-operator/pull/558
artifacthub.io/changes: "- kind: changed\n description: Minimum Kubernetes version has been upped to 1.21\n links:\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/473\n- kind: changed\n description: The required Zookeeper Operator version has been upgraded to v0.2.15\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/549\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/550\n - name: Zookeeper Operator v0.2.15 Release\n url: https://github.com/pravega/zookeeper-operator/releases/tag/v0.2.15\n- kind: fixed\n description: Fix bug with named PVCs\n links:\n - name: Github Issue\n url: https://github.com/apache/solr-operator/issues/479\n - name: Github PR\n url: https://github.com/apache/solr-operator/pull/481\n- kind: added\n description: Support custom annotations on created ServiceAccount\n links:\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/480\n- kind: added\n description: SolrClouds now have PodDisruptionBudgets enabled\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/471\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/473\n - name: PodDisruptionBudget Documentation\n url: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets\n- kind: fixed\n description: Fix namespace support for helm installation and leader election\n links:\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/508\n- kind: changed\n description: Zookeeper images now use the IfNotPresent pullPolicy by default\n links:\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/512/files\n- kind: fixed\n description: Fix bug in non-recurring SolrBackups\n links:\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/509\n- kind: fixed\n description: Fix issue where Zookeeper specific labels are not propagated to Zookeeper pods\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/490\n - name: Zookeeper Operator Issue\n url: https://github.com/pravega/zookeeper-operator/issues/511\n- kind: fixed\n description: Fix SolrBackup not taking backups when the collections field is omitted \n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/515\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/516\n- kind: changed\n description: Use better default startup, liveness and readiness probes for SolrCloud and SolrPrometheusExporter\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/510\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/511\n- kind: added\n description: The SolrCloud common service now removes nodes that are about to be upgraded\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/529\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/530\n - name: Feature Documentation\n url: https://apache.github.io/solr-operator/docs/solr-cloud/managed-updates.html#pod-readiness-during-updates\n- kind: fixed\n description: Don't give port annotation for PrometheusExporter, let Prometheus find the port itself\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/483\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/539\n- kind: fixed\n description: Solr resource status are now patched instead of updated, this should reduce \"error\" logging in the operator.\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/544\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/545\n- kind: added\n description: Support custom Zookeeper probes\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/477\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/546\n- kind: fixed\n description: Avoid backup directory chown when directories are already writable\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/537\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/548\n- kind: added\n description: Added Option to enable/disable the PodDisruptionBudget for the cluster.\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/538\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/540\n- kind: removed\n description: Options deprecated in v0.6.0 have been been removed.\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/553\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/554\n- kind: fixed\n description: Use correct user & group for chmod command in cp-solr-xml init container\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/519\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/520\n- kind: added\n description: Add missing ZookeeperCluster customization options.\n links:\n - name: GitHub Issue\n url: https://github.com/apache/solr-operator/issues/557\n - name: GitHub PR\n url: https://github.com/apache/solr-operator/pull/558\n"
artifacthub.io/images: |
- name: solr-operator
image: apache/solr-operator:v0.7.0-prerelease
image: apache/solr-operator:v0.7.0
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.7.0-prerelease/all-with-dependencies.yaml
helm install solr-operator apache-solr/solr-operator --version 0.7.0-prerelease
kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.7.0/all-with-dependencies.yaml
helm install solr-operator apache-solr/solr-operator --version 0.7.0
```

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.7.0-prerelease/all-with-dependencies.yaml
helm upgrade solr-operator apache-solr/solr-operator --version 0.7.0-prerelease
kubectl replace -f https://solr.apache.org/operator/downloads/crds/v0.7.0/all-with-dependencies.yaml
helm upgrade solr-operator apache-solr/solr-operator --version 0.7.0
```

#### 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.7.0-prerelease"` | The tag/version of the Solr Operator to run |
| image.tag | string | `"v0.7.0"` | 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.7.0-prerelease
operator.solr.apache.org/version: v0.7.0
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.7.0-prerelease
operator.solr.apache.org/version: v0.7.0
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down Expand Up @@ -16802,7 +16802,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operator.solr.apache.org/version: v0.7.0-prerelease
operator.solr.apache.org/version: v0.7.0
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
Expand Down
Loading

0 comments on commit 0e16c6b

Please sign in to comment.