Skip to content

Commit 16ad538

Browse files
hossainemruztamalsaha
authored andcommitted
Prepare for 3.4 release
1 parent c4eb920 commit 16ad538

31 files changed

+159
-186
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ BIN_PLATFORMS := $(DOCKER_PLATFORMS)
5959
OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS))
6060
ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))
6161

62-
BASEIMAGE_PROD ?= mongo:3.6
63-
BASEIMAGE_DBG ?= mongo:3.6
62+
BASEIMAGE_PROD ?= mongo:3.4.22
63+
BASEIMAGE_DBG ?= mongo:3.4.22
6464

6565
IMAGE := $(REGISTRY)/$(BIN)
6666
VERSION_PROD := $(VERSION)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ MongoDB backup and restore plugin for [Stash by AppsCode](https://appscode.com/p
1010

1111
## Install
1212

13-
Install MongoDB 3.6 backup or restore plugin for Stash as below.
13+
Install MongoDB 3.4 backup or restore plugin for Stash as below.
1414

1515
```console
1616
helm repo add appscode https://charts.appscode.com/stable/
1717
helm repo update
18-
helm install appscode/stash-mongodb --name=stash-mongodb-3.6 --version=3.6
18+
helm install appscode/stash-mongodb --name=stash-mongodb-3.4 --version=3.4
1919
```
2020

2121
To install catalog for all supported MongoDB versions, please visit [here](https://github.com/stashed/catalog).
2222

2323
## Uninstall
2424

25-
Uninstall MongoDB 3.6 backup or restore plugin for Stash as below.
25+
Uninstall MongoDB 3.4 backup or restore plugin for Stash as below.
2626

2727
```console
28-
helm delete stash-mongodb-3.6
28+
helm delete stash-mongodb-3.4
2929
```
3030

3131
## Support

chart/stash-mongodb/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
description: 'stash-mongodb - MongoDB database backup and restore plugin for Stash by AppsCode'
33
name: stash-mongodb
4-
version: 3.6
5-
appVersion: 3.6
4+
version: 3.4
5+
appVersion: 3.4
66
home: https://github.com/stashed/mongodb
77
icon: https://cdn.appscode.com/images/icon/stash.png
88
sources:

chart/stash-mongodb/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
```console
88
helm repo add appscode https://charts.appscode.com/stable/
99
helm repo update
10-
helm install appscode/stash-mongodb --name=stash-mongodb-3.6 --version=3.6
10+
helm install appscode/stash-mongodb --name=stash-mongodb-3.4 --version=3.4
1111
```
1212

1313
## Introduction
1414

15-
This chart installs necessary `Function` and `Task` definition to backup or restore MongoDB database 3.6 using Stash.
15+
This chart installs necessary `Function` and `Task` definition to backup or restore MongoDB database 3.4 using Stash.
1616

1717
## Prerequisites
1818

@@ -32,20 +32,20 @@ helm repo add appscode https://charts.appscode.com/stable/
3232
helm repo update
3333
```
3434

35-
- Install the chart with the release name `stash-mongodb-3.6` run the following command,
35+
- Install the chart with the release name `stash-mongodb-3.4` run the following command,
3636

3737
```console
38-
helm install appscode/stash-mongodb --name=stash-mongodb-3.6 --version=3.6
38+
helm install appscode/stash-mongodb --name=stash-mongodb-3.4 --version=3.4
3939
```
4040

41-
The above commands installs `Functions` and `Task` crds that are necessary to backup MongoDB database 3.6 using Stash.
41+
The above commands installs `Functions` and `Task` crds that are necessary to backup MongoDB database 3.4 using Stash.
4242

4343
## Uninstalling the Chart
4444

45-
To uninstall/delete the `stash-mongodb-3.6` run the following command,
45+
To uninstall/delete the `stash-mongodb-3.4` run the following command,
4646

4747
```console
48-
helm delete stash-mongodb-3.6
48+
helm delete stash-mongodb-3.4
4949
```
5050

5151
The command removes all the Kubernetes components associated with the chart and deletes the release.
@@ -54,18 +54,18 @@ The command removes all the Kubernetes components associated with the chart and
5454

5555
The following table lists the configurable parameters of the `stash-mongodb` chart and their default values.
5656

57-
| Parameter | Description | Default |
58-
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------- | --------------- |
59-
| `docker.registry` | Docker registry used to pull respective images | `stashed` |
60-
| `docker.image` | Docker image used to backup/restore PosegreSQL database | `stash-mongodb` |
61-
| `docker.tag` | Tag of the image that is used to backup/restore PostgreSQL database. This is usually same as the database version it can backup. | `3.6` |
62-
| `backup.mgArgs` | Optional arguments to pass to `mongodump` command during bakcup process | |
63-
| `restore.mgArgs` | Optional arguments to pass to `mongorestore` command during restore process | |
57+
| Parameter | Description | Default |
58+
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------- |
59+
| `docker.registry` | Docker registry used to pull respective images | `stashed` |
60+
| `docker.image` | Docker image used to backup/restore MongoDB database | `stash-mongodb` |
61+
| `docker.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` |
62+
| `backup.mgArgs` | Optional arguments to pass to `mongodump` command during bakcup process | |
63+
| `restore.mgArgs` | Optional arguments to pass to `mongorestore` command during restore process | |
6464

6565
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
6666

6767
For example:
6868

6969
```console
70-
helm install --name stash-mongodb-3.6 --set docker.registry=my-registry appscode/stash-mongodb
70+
helm install --name stash-mongodb-3.4 --set docker.registry=my-registry appscode/stash-mongodb
7171
```

chart/stash-mongodb/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Create chart name and version as used by the chart label.
3131
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
3232
{{- end -}}
3333

34-
# default labels for posgres-stash resources
34+
# default labels for stash-mongodb resources
3535
{{- define "stash-mongodb.labels" -}}
3636
app.kubernetes.io/name: {{ include "stash-mongodb.name" . }}
3737
helm.sh/chart: {{ include "stash-mongodb.chart" . }}

chart/stash-mongodb/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
docker:
77
registry: stashed
88
image: stash-mongodb
9-
tag: 3.6
9+
tag: 3.4
1010

1111
# optional argument to send mongodump or mongorestore command
1212
backup:

docs/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ menu:
55
identifier: stash-mongodb-guides-{{ .subproject_version }}
66
name: {{ .subproject_version }}
77
parent: stash-mongodb-guides
8-
weight: 50
8+
weight: 10
99
menu_name: product_stash_{{ .version }}
1010
---

docs/examples/backup/replicaset/backupconfiguration-replicaset.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
schedule: "*/5 * * * *"
88
task:
9-
name: mongodb-backup-3.6
9+
name: mongodb-backup-3.4
1010
repository:
1111
name: gcs-repo-replicaset
1212
target:
@@ -15,5 +15,6 @@ spec:
1515
kind: AppBinding
1616
name: sample-mgo-rs
1717
retentionPolicy:
18+
name: keep-last-5
1819
keepLast: 5
1920
prune: true

docs/examples/backup/replicaset/mongodb-replicaset-ssl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: sample-mgo-rs-ssl
55
namespace: demo
66
spec:
7-
version: "3.6-v4"
7+
version: "3.4-v4"
88
replicas: 3
99
replicaSet:
1010
name: rs0

docs/examples/backup/replicaset/mongodb-replicaset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: sample-mgo-rs
55
namespace: demo
66
spec:
7-
version: "3.6-v4"
7+
version: "3.4-v4"
88
replicas: 3
99
replicaSet:
1010
name: rs0

0 commit comments

Comments
 (0)