Skip to content

Commit

Permalink
Prepare for release 12.4.0-v2 (#416)
Browse files Browse the repository at this point in the history
ProductLine: Stash

Release: v2020.11.06

Release-tracker: stashed/CHANGELOG#23
Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm authored Nov 7, 2020
1 parent d8ca600 commit 6d8aa2f
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions charts/stash-postgres/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: 'stash-postgres - PostgreSQL database plugin for Stash by AppsCode'
name: stash-postgres
version: 12.4.0-v1
appVersion: 12.4.0-v1
version: 12.4.0-v2
appVersion: 12.4.0-v2
home: https://stash.run
icon: https://cdn.appscode.com/images/products/stash/addons/postgres-stash-addon.png
sources:
Expand Down
16 changes: 8 additions & 8 deletions charts/stash-postgres/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-postgres-12.4.0-v1 appscode/stash-postgres -n kube-system --version=12.4.0-v1
$ helm install stash-postgres-12.4.0-v2 appscode/stash-postgres -n kube-system --version=12.4.0-v2
```

## 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-postgres-12.4.0-v1`:
To install the chart with the release name `stash-postgres-12.4.0-v2`:

```console
$ helm install stash-postgres-12.4.0-v1 appscode/stash-postgres -n kube-system --version=12.4.0-v1
$ helm install stash-postgres-12.4.0-v2 appscode/stash-postgres -n kube-system --version=12.4.0-v2
```

The command deploys necessary `Function` and `Task` definition to backup or restore PostgreSQL 11.2 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-postgres-12.4.0-v1`:
To uninstall/delete the `stash-postgres-12.4.0-v2`:

```console
$ helm delete stash-postgres-12.4.0-v1 -n kube-system
$ helm delete stash-postgres-12.4.0-v2 -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-postgres` ch
| fullnameOverride | Overrides fullname template | `""` |
| image.registry | Docker registry used to pull Postgres addon image | `stashed` |
| image.repository | Docker image used to backup/restore PosegreSQL database | `stash-postgres` |
| image.tag | Tag of the image that is used to backup/restore PostgreSQL database. This is usually same as the database version it can backup. | `12.4.0-v1` |
| image.tag | Tag of the image that is used to backup/restore PostgreSQL database. This is usually same as the database version it can backup. | `12.4.0-v2` |
| backup.cmd | Postgres dump command, can either be: pg_dumpall or pg_dump | `"pg_dumpall"` |
| backup.args | Arguments to pass to `backup.cmd` command during backup process | `""` |
| restore.args | Arguments to pass to `psql` command during restore process | `""` |
Expand All @@ -60,12 +60,12 @@ The following table lists the configurable parameters of the `stash-postgres` ch
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:

```console
$ helm install stash-postgres-12.4.0-v1 appscode/stash-postgres -n kube-system --version=12.4.0-v1 --set image.registry=stashed
$ helm install stash-postgres-12.4.0-v2 appscode/stash-postgres -n kube-system --version=12.4.0-v2 --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-postgres-12.4.0-v1 appscode/stash-postgres -n kube-system --version=12.4.0-v1 --values values.yaml
$ helm install stash-postgres-12.4.0-v2 appscode/stash-postgres -n kube-system --version=12.4.0-v2 --values values.yaml
```
4 changes: 2 additions & 2 deletions charts/stash-postgres/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repository:
name: appscode
chart:
name: stash-postgres
version: 12.4.0-v1
version: 12.4.0-v2
values: "-- generate from values file --"
valuesExample: "-- generate from values file --"
prerequisites:
- Kubernetes 1.11+
release:
name: stash-postgres-12.4.0-v1
name: stash-postgres-12.4.0-v2
namespace: kube-system
2 changes: 1 addition & 1 deletion charts/stash-postgres/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ image:
repository: stash-postgres
# Tag of the image that is used to backup/restore PostgreSQL database.
# This is usually same as the database version it can backup.
tag: 12.4.0-v1
tag: 12.4.0-v2
backup:
# Postgres dump command, can either be: pg_dumpall or pg_dump
cmd: "pg_dumpall"
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: postgres-backup-12.4.0-v1
name: postgres-backup-12.4.0-v2
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: Postgres # this label is mandatory if you are using KubeDB to deploy the database.
spec:
task:
name: postgres-restore-12.4.0-v1
name: postgres-restore-12.4.0-v2
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 @@ -23,7 +23,7 @@ require (
kmodules.xyz/custom-resources v0.0.0-20201105075444-3c6af51b4f79
kmodules.xyz/offshoot-api v0.0.0-20201105074700-8675f5f686f2
sigs.k8s.io/yaml v1.2.0
stash.appscode.dev/apimachinery v0.11.6-0.20201106214826-132a511faa97
stash.appscode.dev/apimachinery v0.11.6
)

replace bitbucket.org/ww/goautoneg => gomodules.xyz/goautoneg v0.0.0-20120707110453-a547fc61f48d
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,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-0.20201106214826-132a511faa97 h1:UR+jW3PbIPmdG1fWLVSIYiOsBsnMSc55feLZCvobXjQ=
stash.appscode.dev/apimachinery v0.11.6-0.20201106214826-132a511faa97/go.mod h1:JQtqMYDOMkcxmcsUnOiRhi/BIvFWlceAIcauBw1a48M=
stash.appscode.dev/apimachinery v0.11.6 h1:6JPVYugF6YdeSuLtFqeXTyi6k04owD6E6PxDTBpRsn4=
stash.appscode.dev/apimachinery v0.11.6/go.mod h1:JQtqMYDOMkcxmcsUnOiRhi/BIvFWlceAIcauBw1a48M=
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-0.20201106214826-132a511faa97
# stash.appscode.dev/apimachinery v0.11.6
stash.appscode.dev/apimachinery/apis
stash.appscode.dev/apimachinery/apis/repositories
stash.appscode.dev/apimachinery/apis/repositories/v1alpha1
Expand Down

0 comments on commit 6d8aa2f

Please sign in to comment.