Skip to content

Commit

Permalink
Prepare for release 3.4.22-v5 (#652)
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 <1gtm@appscode.com>
  • Loading branch information
1gtm authored Dec 17, 2020
1 parent 9acaefc commit e33853a
Show file tree
Hide file tree
Showing 24 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions charts/stash-mongodb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: 'stash-mongodb - MongoDB database plugin for Stash by AppsCode'
name: stash-mongodb
version: 3.4.22-v4
appVersion: 3.4.22-v4
version: 3.4.22-v5
appVersion: 3.4.22-v5
home: https://stash.run
icon: https://cdn.appscode.com/images/products/stash/addons/mongodb-stash-addon.png
sources:
Expand Down
16 changes: 8 additions & 8 deletions charts/stash-mongodb/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-mongodb-3.4.22-v4 appscode/stash-mongodb -n kube-system --version=3.4.22-v4
$ helm install stash-mongodb-3.4.22-v5 appscode/stash-mongodb -n kube-system --version=3.4.22-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-mongodb-3.4.22-v4`:
To install the chart with the release name `stash-mongodb-3.4.22-v5`:

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

The command deploys necessary `Function` and `Task` definition to backup or restore MongoDB 3.4.22 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-mongodb-3.4.22-v4`:
To uninstall/delete the `stash-mongodb-3.4.22-v5`:

```console
$ helm delete stash-mongodb-3.4.22-v4 -n kube-system
$ helm delete stash-mongodb-3.4.22-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-mongodb` cha
| fullnameOverride | Overrides fullname template | `""` |
| image.registry | Docker registry used to pull MongoDB addon image | `stashed` |
| image.repository | Docker image used to backup/restore MongoDB database | `stash-mongodb` |
| image.tag | Tag of the image that is used to backup/restore MongoDB database. This is usually same as the database version it can backup. | `3.4.22-v4` |
| image.tag | Tag of the image that is used to backup/restore MongoDB database. This is usually same as the database version it can backup. | `3.4.22-v5` |
| backup.args | Arguments to pass to `mongodump` command during backup process | `""` |
| restore.args | Arguments to pass to `mongorestore` command during restore process | `""` |
| maxConcurrency | Maximum concurrency to perform backup or restore tasks | `3` |
Expand All @@ -60,12 +60,12 @@ The following table lists the configurable parameters of the `stash-mongodb` cha
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:

```console
$ helm install stash-mongodb-3.4.22-v4 appscode/stash-mongodb -n kube-system --version=3.4.22-v4 --set image.registry=stashed
$ helm install stash-mongodb-3.4.22-v5 appscode/stash-mongodb -n kube-system --version=3.4.22-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-mongodb-3.4.22-v4 appscode/stash-mongodb -n kube-system --version=3.4.22-v4 --values values.yaml
$ helm install stash-mongodb-3.4.22-v5 appscode/stash-mongodb -n kube-system --version=3.4.22-v5 --values values.yaml
```
4 changes: 2 additions & 2 deletions charts/stash-mongodb/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repository:
name: appscode
chart:
name: stash-mongodb
version: 3.4.22-v4
version: 3.4.22-v5
values: "-- generate from values file --"
valuesExample: "-- generate from values file --"
prerequisites:
- Kubernetes 1.11+
release:
name: stash-mongodb-3.4.22-v4
name: stash-mongodb-3.4.22-v5
namespace: kube-system
2 changes: 1 addition & 1 deletion charts/stash-mongodb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ image:
repository: stash-mongodb
# Tag of the image that is used to backup/restore MongoDB database.
# This is usually same as the database version it can backup.
tag: 3.4.22-v4
tag: 3.4.22-v5
# optional argument to send mongodump or mongorestore command
backup:
# Arguments to pass to `mongodump` command during backup process
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: mongodb-backup-3.4.22-v4
name: mongodb-backup-3.4.22-v5
repository:
name: gcs-repo-replicaset
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/replicaset/standalone-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: mongodb-backup-3.4.22-v4
name: mongodb-backup-3.4.22-v5
repository:
name: gcs-repo-custom
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: mongodb-backup-3.4.22-v4
name: mongodb-backup-3.4.22-v5
repository:
name: gcs-repo-sharding
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/sharding/standalone-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: mongodb-backup-3.4.22-v4
name: mongodb-backup-3.4.22-v5
repository:
name: gcs-repo-custom
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/standalone/backupconfiguration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: mongodb-backup-3.4.22-v4
name: mongodb-backup-3.4.22-v5
repository:
name: gcs-repo
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kubedb.com/kind: MongoDB
spec:
task:
name: mongodb-restore-3.4.22-v4
name: mongodb-restore-3.4.22-v5
repository:
name: gcs-repo-replicaset
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kubedb.com/kind: MongoDB
spec:
task:
name: mongodb-restore-3.4.22-v4
name: mongodb-restore-3.4.22-v5
repository:
name: gcs-repo-custom
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kubedb.com/kind: MongoDB
spec:
task:
name: mongodb-restore-3.4.22-v4
name: mongodb-restore-3.4.22-v5
repository:
name: gcs-repo-sharding
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kubedb.com/kind: MongoDB
spec:
task:
name: mongodb-restore-3.4.22-v4
name: mongodb-restore-3.4.22-v5
repository:
name: gcs-repo-custom
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/restore/standalone/restoresession.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kubedb.com/kind: MongoDB
spec:
task:
name: mongodb-restore-3.4.22-v4
name: mongodb-restore-3.4.22-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 @@ -26,7 +26,7 @@ require (
kmodules.xyz/offshoot-api v0.0.0-20201105074700-8675f5f686f2
kubedb.dev/apimachinery v0.14.0-beta.2
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 @@ -969,7 +969,6 @@ golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200421231249-e086a090c8fd h1:QPwSajcTUrFriMF1nJ3XzgoqakqQEsnZf9LdXdi2nkI=
golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/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 @@ -1280,8 +1279,6 @@ kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4 h1:NWWv+Qju8xzHZ
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4/go.mod h1:WrO3fryNyFCgqqyWnwI89lnzWA7kN072Ehya7ELGfzE=
kmodules.xyz/custom-resources v0.0.0-20200604135349-9e9f5c4fdba9 h1:W+k1qhU0W1rptia2PWPOb7IWUvWnf31EMnatXt7MW6w=
kmodules.xyz/custom-resources v0.0.0-20200604135349-9e9f5c4fdba9/go.mod h1:bu1V7HdnuHc1hgvbqAdcwTViQ0TfZwF3Nu/SjB4vai4=
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/monitoring-agent-api v0.0.0-20200828051750-42aa8e7852f3/go.mod h1:ybC7USLPa1dCpNeiJBuoJ5TMucpFUklnj+Dhq/sSky0=
Expand Down Expand Up @@ -1329,6 +1326,6 @@ software.sslmate.com/src/go-pkcs12 v0.0.0-20180114231543-2291e8f0f237/go.mod h1:
sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0=
stash.appscode.dev/apimachinery v0.10.0 h1:zKmaANWOTH89J7a/D1FwXFUWAQdI1rA5Nr82WbnLGm8=
stash.appscode.dev/apimachinery v0.10.0/go.mod h1:TpdBIAiHCtpkUB13SDUyCZ6y+5wmzXBMAf9e72cSPO4=
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 @@ -888,7 +888,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 e33853a

Please sign in to comment.