Skip to content

Commit

Permalink
Solr Operator v0.4.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
HoustonPutman committed Sep 7, 2021
1 parent b0e1d03 commit fae48c1
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 26 deletions.
8 changes: 4 additions & 4 deletions docs/local_tutorial.md
Expand Up @@ -73,9 +73,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.4.0-prerelease/all-with-dependencies.yaml
$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.4.0/all-with-dependencies.yaml
# Install the Solr operator and Zookeeper Operator
$ helm install solr-operator apache-solr/solr-operator --version 0.4.0-prerelease
$ helm install solr-operator apache-solr/solr-operator --version 0.4.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 @@ -106,7 +106,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.4.0-prerelease \
helm install example-solr apache-solr/solr --version 0.4.0 \
--set image.tag=8.3 \
--set solrOptions.javaMemory="-Xms300m -Xmx300m" \
--set addressability.external.method=Ingress \
Expand Down Expand Up @@ -193,7 +193,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.4.0-prerelease \
helm upgrade example-solr apache-solr/solr --version 0.4.0 \
--reuse-values \
--set image.tag=8.7

Expand Down
4 changes: 2 additions & 2 deletions docs/running-the-operator.md
Expand Up @@ -21,8 +21,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.4.0-prerelease/all-with-dependencies.yaml
$ helm install solr-operator apache-solr/solr-operator --version 0.4.0-prerelease
$ kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.4.0/all-with-dependencies.yaml
$ helm install solr-operator apache-solr/solr-operator --version 0.4.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
Expand Up @@ -68,8 +68,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.4.0-prerelease/all-with-dependencies.yaml"
helm upgrade solr-operator apache-solr/solr-operator --version 0.4.0-prerelease
kubectl replace -f "http://solr.apache.org/operator/downloads/crds/v0.4.0/all-with-dependencies.yaml"
helm upgrade solr-operator apache-solr/solr-operator --version 0.4.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
10 changes: 5 additions & 5 deletions helm/solr-operator/Chart.yaml
Expand Up @@ -16,8 +16,8 @@
apiVersion: v2
name: solr-operator
description: The Solr Operator enables easy management of Solr resources within Kubernetes.
version: 0.4.0-prerelease
appVersion: v0.4.0-prerelease
version: 0.4.0
appVersion: v0.4.0
kubeVersion: ">= 1.16.0-0"
home: https://solr.apache.org/operator
sources:
Expand All @@ -42,14 +42,14 @@ dependencies:
annotations:
artifacthub.io/operator: "true"
artifacthub.io/operatorCapabilities: Seamless Upgrades
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
Expand Down Expand Up @@ -179,7 +179,7 @@ annotations:
url: https://github.com/apache/solr-operator/pull/312
artifacthub.io/images: |
- name: solr-operator
image: apache/solr-operator:v0.4.0-prerelease
image: apache/solr-operator:v0.4.0
artifacthub.io/crds: |
- kind: SolrCloud
version: v1beta1
Expand Down
10 changes: 5 additions & 5 deletions helm/solr-operator/README.md
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.4.0-prerelease/all-with-dependencies.yaml
helm install solr-operator apache-solr/solr-operator --version 0.4.0-prerelease
kubectl create -f https://solr.apache.org/operator/downloads/crds/v0.4.0/all-with-dependencies.yaml
helm install solr-operator apache-solr/solr-operator --version 0.4.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.4.0-prerelease/all-with-dependencies.yaml
helm upgrade solr-operator apache-solr/solr-operator --version 0.4.0-prerelease
kubectl replace -f https://solr.apache.org/operator/downloads/crds/v0.4.0/all-with-dependencies.yaml
helm upgrade solr-operator apache-solr/solr-operator --version 0.4.0
```

#### Namespaces
Expand Down Expand Up @@ -170,7 +170,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.4.0-prerelease"` | The tag/version of the Solr Operator to run |
| image.tag | string | `"v0.4.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
2 changes: 1 addition & 1 deletion helm/solr-operator/values.yaml
Expand Up @@ -21,7 +21,7 @@ replicaCount: 1

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

nameOverride: ""
Expand Down
7 changes: 3 additions & 4 deletions helm/solr/Chart.yaml
Expand Up @@ -16,8 +16,7 @@
apiVersion: v2
name: solr
description: A SolrCloud cluser running on Kubernetes via the Solr Operator

version: 0.4.0-prerelease
version: 0.4.0
appVersion: 8.9.0
kubeVersion: ">= 1.16.0-0"
home: https://solr.apache.org
Expand All @@ -37,7 +36,7 @@ maintainers:
icon: https://solr.apache.org/theme/images/identity/Solr_Logo_on_white.png
annotations:
artifacthub.io/operator: "false"
artifacthub.io/prerelease: "true"
artifacthub.io/prerelease: "false"
# Add change log for a single release here.
# Allowed syntax is described at: https://artifacthub.io/docs/topics/annotations/helm/#example
artifacthub.io/changes: |
Expand Down Expand Up @@ -78,5 +77,5 @@ annotations:
- name: solr
image: apache/solr:8.9
artifacthub.io/signKey: |
fingerprint: <fingerprint>
fingerprint: 50E3EE1C91C7E0CB4DFB007B369424FC98F3F6EC
url: https://dist.apache.org/repos/dist/release/solr/KEYS
4 changes: 2 additions & 2 deletions helm/solr/README.md
Expand Up @@ -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.4.0-prerelease --set image.tag=8.8.0
helm install example apache-solr/solr --version 0.4.0 --set image.tag=8.8.0
```

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.4.0-prerelease --reuse-values --set image.tag=8.9.0
helm upgrade example apache-solr/solr --version 0.4.0 --reuse-values --set image.tag=8.9.0
```

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
Expand Up @@ -20,7 +20,7 @@ package version
var (
// Version information for the Solr Operator
Version string = "v0.4.0"
VersionSuffix string = "prerelease"
VersionSuffix string = ""
BuildTime string
GitSHA string
)

0 comments on commit fae48c1

Please sign in to comment.