Skip to content

Commit

Permalink
Prepare for 3.4.17 release
Browse files Browse the repository at this point in the history
  • Loading branch information
hossainemruz authored and tamalsaha committed Oct 7, 2019
1 parent 16ad538 commit f0b8e87
Show file tree
Hide file tree
Showing 31 changed files with 94 additions and 94 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ BIN_PLATFORMS := $(DOCKER_PLATFORMS)
OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS))
ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))

BASEIMAGE_PROD ?= mongo:3.4.22
BASEIMAGE_DBG ?= mongo:3.4.22
BASEIMAGE_PROD ?= mongo:3.4.17
BASEIMAGE_DBG ?= mongo:3.4.17

IMAGE := $(REGISTRY)/$(BIN)
VERSION_PROD := $(VERSION)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ MongoDB backup and restore plugin for [Stash by AppsCode](https://appscode.com/p

## Install

Install MongoDB 3.4 backup or restore plugin for Stash as below.
Install MongoDB 3.4.17 backup or restore plugin for Stash as below.

```console
helm repo add appscode https://charts.appscode.com/stable/
helm repo update
helm install appscode/stash-mongodb --name=stash-mongodb-3.4 --version=3.4
helm install appscode/stash-mongodb --name=stash-mongodb-3.4.17 --version=3.4.17
```

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

## Uninstall

Uninstall MongoDB 3.4 backup or restore plugin for Stash as below.
Uninstall MongoDB 3.4.17 backup or restore plugin for Stash as below.

```console
helm delete stash-mongodb-3.4
helm delete stash-mongodb-3.4.17
```

## Support
Expand Down
4 changes: 2 additions & 2 deletions chart/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 backup and restore plugin for Stash by AppsCode'
name: stash-mongodb
version: 3.4
appVersion: 3.4
version: 3.4.17
appVersion: 3.4.17
home: https://github.com/stashed/mongodb
icon: https://cdn.appscode.com/images/icon/stash.png
sources:
Expand Down
18 changes: 9 additions & 9 deletions chart/stash-mongodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
```console
helm repo add appscode https://charts.appscode.com/stable/
helm repo update
helm install appscode/stash-mongodb --name=stash-mongodb-3.4 --version=3.4
helm install appscode/stash-mongodb --name=stash-mongodb-3.4.17 --version=3.4.17
```

## Introduction

This chart installs necessary `Function` and `Task` definition to backup or restore MongoDB database 3.4 using Stash.
This chart installs necessary `Function` and `Task` definition to backup or restore MongoDB database 3.4.17 using Stash.

## Prerequisites

Expand All @@ -32,20 +32,20 @@ helm repo add appscode https://charts.appscode.com/stable/
helm repo update
```

- Install the chart with the release name `stash-mongodb-3.4` run the following command,
- Install the chart with the release name `stash-mongodb-3.4.17` run the following command,

```console
helm install appscode/stash-mongodb --name=stash-mongodb-3.4 --version=3.4
helm install appscode/stash-mongodb --name=stash-mongodb-3.4.17 --version=3.4.17
```

The above commands installs `Functions` and `Task` crds that are necessary to backup MongoDB database 3.4 using Stash.
The above commands installs `Functions` and `Task` crds that are necessary to backup MongoDB database 3.4.17 using Stash.

## Uninstalling the Chart

To uninstall/delete the `stash-mongodb-3.4` run the following command,
To uninstall/delete the `stash-mongodb-3.4.17` run the following command,

```console
helm delete stash-mongodb-3.4
helm delete stash-mongodb-3.4.17
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -58,7 +58,7 @@ The following table lists the configurable parameters of the `stash-mongodb` cha
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------- |
| `docker.registry` | Docker registry used to pull respective images | `stashed` |
| `docker.image` | Docker image used to backup/restore MongoDB database | `stash-mongodb` |
| `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` |
| `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.17` |
| `backup.mgArgs` | Optional arguments to pass to `mongodump` command during bakcup process | |
| `restore.mgArgs` | Optional arguments to pass to `mongorestore` command during restore process | |

Expand All @@ -67,5 +67,5 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
For example:

```console
helm install --name stash-mongodb-3.4 --set docker.registry=my-registry appscode/stash-mongodb
helm install --name stash-mongodb-3.4.17 --set docker.registry=my-registry appscode/stash-mongodb
```
2 changes: 1 addition & 1 deletion chart/stash-mongodb/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

# default labels for stash-mongodb resources
# default labels for posgres-stash resources
{{- define "stash-mongodb.labels" -}}
app.kubernetes.io/name: {{ include "stash-mongodb.name" . }}
helm.sh/chart: {{ include "stash-mongodb.chart" . }}
Expand Down
2 changes: 1 addition & 1 deletion chart/stash-mongodb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
docker:
registry: stashed
image: stash-mongodb
tag: 3.4
tag: 3.4.17

# optional argument to send mongodump or mongorestore command
backup:
Expand Down
2 changes: 1 addition & 1 deletion docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ menu:
identifier: stash-mongodb-guides-{{ .subproject_version }}
name: {{ .subproject_version }}
parent: stash-mongodb-guides
weight: 10
weight: 15
menu_name: product_stash_{{ .version }}
---
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
name: mongodb-backup-3.4.17
repository:
name: gcs-repo-replicaset
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mgo-rs-ssl
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
replicas: 3
replicaSet:
name: rs0
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/replicaset/mongodb-replicaset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mgo-rs
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
replicas: 3
replicaSet:
name: rs0
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 @@ -35,7 +35,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: mongodb-backup-3.4
name: mongodb-backup-3.4.17
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
name: mongodb-backup-3.4.17
repository:
name: gcs-repo-sharding
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/sharding/mongodb-sharding-ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mgo-sh-ssl
namespace: demo
spec:
version: 3.4-v4
version: 3.4.17
shardTopology:
configServer:
replicas: 3
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/sharding/mongodb-sharding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mgo-sh
namespace: demo
spec:
version: 3.4-v4
version: 3.4.17
shardTopology:
configServer:
replicas: 3
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 @@ -35,7 +35,7 @@ metadata:
spec:
schedule: "*/5 * * * *"
task:
name: mongodb-backup-3.4
name: mongodb-backup-3.4.17
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
name: mongodb-backup-3.4.17
repository:
name: gcs-repo
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/standalone/mongodb-ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mongodb-ssl
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
storageType: Durable
storage:
storageClassName: "standard"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/backup/standalone/mongodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mongodb
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
storageType: Durable
storage:
storageClassName: "standard"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: restored-mgo-rs
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
databaseSecret:
secretName: sample-mgo-rs-auth
replicas: 3
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/restore/replicaset/restored-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: restored-mongodb
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
storageType: Durable
databaseSecret:
secretName: sample-mgo-rs-auth
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
name: mongodb-restore-3.4.17
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
name: mongodb-restore-3.4.17
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:
databaseSecret:
secretName: sample-mgo-sh-auth
version: 3.4-v4
version: 3.4.17
shardTopology:
configServer:
replicas: 3
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/restore/sharding/restored-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: restored-mongodb
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
storageType: Durable
databaseSecret:
secretName: sample-mgo-sh-auth
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
name: mongodb-restore-3.4.17
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
name: mongodb-restore-3.4.17
repository:
name: gcs-repo-custom
target:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/restore/standalone/restored-mongodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: restored-mongodb
namespace: demo
spec:
version: "3.4-v4"
version: "3.4.17"
storageType: Durable
databaseSecret:
secretName: sample-mongodb-auth
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
name: mongodb-restore-3.4.17
repository:
name: gcs-repo
target:
Expand Down
Loading

0 comments on commit f0b8e87

Please sign in to comment.