Skip to content

Commit

Permalink
Prepare for release 5.6.4-v5 (#498)
Browse files Browse the repository at this point in the history
ProductLine: Stash

Release: v2020.12.17

Release-tracker: stashed/CHANGELOG#25
Signed-off-by: 1gtm <[email protected]>
  • Loading branch information
1gtm authored Dec 17, 2020
1 parent d9a692f commit 7234135
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions charts/stash-elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: 'stash-elasticsearch - Elasticsearch database plugin for Stash by AppsCode'
name: stash-elasticsearch
version: 5.6.4-v4
appVersion: 5.6.4-v4
version: 5.6.4-v5
appVersion: 5.6.4-v5
home: https://stash.run
icon: https://cdn.appscode.com/images/products/stash/addons/elasticsearch-stash-addon.png
sources:
Expand Down
16 changes: 8 additions & 8 deletions charts/stash-elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```console
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install stash-elasticsearch-5.6.4-v4 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v4
$ helm install stash-elasticsearch-5.6.4-v5 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v5
```

## Introduction
Expand All @@ -20,10 +20,10 @@ This chart deploys necessary `Function` and `Task` definition to backup or resto

## Installing the Chart

To install the chart with the release name `stash-elasticsearch-5.6.4-v4`:
To install the chart with the release name `stash-elasticsearch-5.6.4-v5`:

```console
$ helm install stash-elasticsearch-5.6.4-v4 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v4
$ helm install stash-elasticsearch-5.6.4-v5 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v5
```

The command deploys necessary `Function` and `Task` definition to backup or restore Elasticsearch 5.6.4 using Stash on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
Expand All @@ -32,10 +32,10 @@ The command deploys necessary `Function` and `Task` definition to backup or rest
## Uninstalling the Chart

To uninstall/delete the `stash-elasticsearch-5.6.4-v4`:
To uninstall/delete the `stash-elasticsearch-5.6.4-v5`:

```console
$ helm delete stash-elasticsearch-5.6.4-v4 -n kube-system
$ helm delete stash-elasticsearch-5.6.4-v5 -n kube-system
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -50,7 +50,7 @@ The following table lists the configurable parameters of the `stash-elasticsearc
| fullnameOverride | Overrides fullname template | `""` |
| image.registry | Docker registry used to pull Elasticsearch addon image | `stashed` |
| image.repository | Docker image used to backup/restore Elasticsearch database | `stash-elasticsearch` |
| image.tag | Tag of the image that is used to backup/restore Elasticsearch database. This is usually same as the database version it can backup. | `5.6.4-v4` |
| image.tag | Tag of the image that is used to backup/restore Elasticsearch database. This is usually same as the database version it can backup. | `5.6.4-v5` |
| backup.args | Arguments to pass to `multielasticdump` command during backup process | `""` |
| restore.args | Arguments to pass to `multielasticdump` command during restore process | `""` |
| waitTimeout | Number of seconds to wait for the database to be ready before backup/restore process. | `300` |
Expand All @@ -59,12 +59,12 @@ The following table lists the configurable parameters of the `stash-elasticsearc
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:

```console
$ helm install stash-elasticsearch-5.6.4-v4 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v4 --set image.registry=stashed
$ helm install stash-elasticsearch-5.6.4-v5 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v5 --set image.registry=stashed
```

Alternatively, a YAML file that specifies the values for the parameters can be provided while
installing the chart. For example:

```console
$ helm install stash-elasticsearch-5.6.4-v4 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v4 --values values.yaml
$ helm install stash-elasticsearch-5.6.4-v5 appscode/stash-elasticsearch -n kube-system --version=5.6.4-v5 --values values.yaml
```
4 changes: 2 additions & 2 deletions charts/stash-elasticsearch/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repository:
name: appscode
chart:
name: stash-elasticsearch
version: 5.6.4-v4
version: 5.6.4-v5
values: "-- generate from values file --"
valuesExample: "-- generate from values file --"
prerequisites:
- Kubernetes 1.11+
release:
name: stash-elasticsearch-5.6.4-v4
name: stash-elasticsearch-5.6.4-v5
namespace: kube-system
2 changes: 1 addition & 1 deletion charts/stash-elasticsearch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ image:
repository: stash-elasticsearch
# Tag of the image that is used to backup/restore Elasticsearch database.
# This is usually same as the database version it can backup.
tag: 5.6.4-v4
tag: 5.6.4-v5
# optional argument to send multielasticdump
backup:
# Arguments to pass to `multielasticdump` command during backup process
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/backupconfiguration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: elasticsearch-backup-5.6.4-v4
name: elasticsearch-backup-5.6.4-v5
repository:
name: gcs-repo
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/restore/restoresession.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kubedb.com/kind: Elasticsearch # this label is mandatory if you are using KubeDB to deploy the database. Otherwise, Elasticsearch crd will be stuck in `Initializing` phase.
spec:
task:
name: elasticsearch-restore-5.6.4-v4
name: elasticsearch-restore-5.6.4-v5
repository:
name: gcs-repo
target:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require (
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c
kmodules.xyz/offshoot-api v0.0.0-20201105074700-8675f5f686f2
sigs.k8s.io/yaml v1.2.0
stash.appscode.dev/apimachinery v0.11.6
stash.appscode.dev/apimachinery v0.11.8
)

replace bitbucket.org/ww/goautoneg => gomodules.xyz/goautoneg v0.0.0-20120707110453-a547fc61f48d
Expand Down
7 changes: 2 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,6 @@ golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200625001655-4c5254603344 h1:vGXIOMxbNfDTk/aXCmfdLgkrSV+Z2tcbze+pEc3v5W4=
golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
Expand Down Expand Up @@ -978,8 +977,6 @@ kmodules.xyz/client-go v0.0.0-20201208053851-a1d7be95e006/go.mod h1:WXDwZBmvrcLg
kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6/go.mod h1:DbiFk1bJ1KEO94t1SlAn7tzc+Zz95rSXgyUKa2nzPmY=
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4 h1:NWWv+Qju8xzHZT9hIk1+BbgQtIytNOoCU4g4vqUmh3M=
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4/go.mod h1:WrO3fryNyFCgqqyWnwI89lnzWA7kN072Ehya7ELGfzE=
kmodules.xyz/custom-resources v0.0.0-20201105075444-3c6af51b4f79 h1:BKPPUY/w0ac4R6g172zrejs+MLae2CHGqHCFpzrbRLc=
kmodules.xyz/custom-resources v0.0.0-20201105075444-3c6af51b4f79/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c h1:OIAnTI2yik4i1DSe23kO+89RMw/Eu6WUG/IQ++ivYNo=
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
kmodules.xyz/objectstore-api v0.0.0-20201105133858-cbb2af88d50a h1:FJ8Fwn+BCalLuzkhjmyDf7Fuh19LBIEf/Fx/+xaYDB0=
Expand Down Expand Up @@ -1009,6 +1006,6 @@ sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q=
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0=
stash.appscode.dev/apimachinery v0.11.6 h1:6JPVYugF6YdeSuLtFqeXTyi6k04owD6E6PxDTBpRsn4=
stash.appscode.dev/apimachinery v0.11.6/go.mod h1:JQtqMYDOMkcxmcsUnOiRhi/BIvFWlceAIcauBw1a48M=
stash.appscode.dev/apimachinery v0.11.8 h1:Po7gDpZqd+iQ8DR3zu1iJgIPQiFODPjiA6NIKhO2+7s=
stash.appscode.dev/apimachinery v0.11.8/go.mod h1:s91NxOW9K/CLv9Cl9XVCzBLgdKqVcUOyc9VrYg0NNB0=
vbom.ml/util v0.0.0-20160121211510-db5cfe13f5cc/go.mod h1:so/NYdZXCz+E3ZpW0uAoCj6uzU2+8OWDFv/HxUSs7kI=
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ sigs.k8s.io/structured-merge-diff/v3/typed
sigs.k8s.io/structured-merge-diff/v3/value
# sigs.k8s.io/yaml v1.2.0
sigs.k8s.io/yaml
# stash.appscode.dev/apimachinery v0.11.6
# stash.appscode.dev/apimachinery v0.11.8
stash.appscode.dev/apimachinery/apis
stash.appscode.dev/apimachinery/apis/repositories
stash.appscode.dev/apimachinery/apis/repositories/v1alpha1
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ type BackupSessionSpec struct {
Invoker BackupInvokerRef `json:"invoker,omitempty" protobuf:"bytes,1,opt,name=invoker"`
}

// +kubebuilder:validation:Enum=Pending;Running;Succeeded;Failed;Unknown
// +kubebuilder:validation:Enum=Pending;Skipped;Running;Succeeded;Failed;Unknown
type BackupSessionPhase string

const (
BackupSessionPending BackupSessionPhase = "Pending"
BackupSessionSkipped BackupSessionPhase = "Skipped"
BackupSessionRunning BackupSessionPhase = "Running"
BackupSessionSucceeded BackupSessionPhase = "Succeeded"
BackupSessionFailed BackupSessionPhase = "Failed"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7234135

Please sign in to comment.