Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release 10.2-beta.20200826 #137

Merged
merged 1 commit into from
Aug 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 10.2-beta.20200709
appVersion: 10.2-beta.20200709
version: 10.2-beta.20200826
appVersion: 10.2-beta.20200826
home: https://stash.run
icon: https://cdn.appscode.com/images/products/stash/addons/postgres-stash-addon.png
sources:
Expand Down
36 changes: 18 additions & 18 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-10.2-beta.20200709 appscode/stash-postgres -n kube-system --version=10.2-beta.20200709
$ helm install stash-postgres-10.2-beta.20200826 appscode/stash-postgres -n kube-system --version=10.2-beta.20200826
```

## 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-10.2-beta.20200709`:
To install the chart with the release name `stash-postgres-10.2-beta.20200826`:

```console
$ helm install stash-postgres-10.2-beta.20200709 appscode/stash-postgres -n kube-system --version=10.2-beta.20200709
$ helm install stash-postgres-10.2-beta.20200826 appscode/stash-postgres -n kube-system --version=10.2-beta.20200826
```

The command deploys necessary `Function` and `Task` definition to backup or restore PostgreSQL 10.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-10.2-beta.20200709`:
To uninstall/delete the `stash-postgres-10.2-beta.20200826`:

```console
$ helm delete stash-postgres-10.2-beta.20200709 -n kube-system
$ helm delete stash-postgres-10.2-beta.20200826 -n kube-system
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -44,28 +44,28 @@ The command removes all the Kubernetes components associated with the chart and

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

| Parameter | Description | Default |
|------------------|----------------------------------------------------------------------------------------------------------------------------------|------------------|
| nameOverride | Overrides name template | `""` |
| 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. | `"10.2"` |
| 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 | `""` |
| waitTimeout | Number of seconds to wait for the database to be ready before backup/restore process. | `300` |
| Parameter | Description | Default |
|------------------|----------------------------------------------------------------------------------------------------------------------------------|----------------------|
| nameOverride | Overrides name template | `""` |
| 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. | `10.2-beta.20200826` |
| 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 | `""` |
| waitTimeout | Number of seconds to wait for the database to be ready before backup/restore process. | `300` |


Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:

```console
$ helm install stash-postgres-10.2-beta.20200709 appscode/stash-postgres -n kube-system --version=10.2-beta.20200709 --set image.registry=stashed
$ helm install stash-postgres-10.2-beta.20200826 appscode/stash-postgres -n kube-system --version=10.2-beta.20200826 --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-10.2-beta.20200709 appscode/stash-postgres -n kube-system --version=10.2-beta.20200709 --values values.yaml
$ helm install stash-postgres-10.2-beta.20200826 appscode/stash-postgres -n kube-system --version=10.2-beta.20200826 --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: 10.2-beta.20200709
version: 10.2-beta.20200826
values: "-- generate from values file --"
valuesExample: "-- generate from values file --"
prerequisites:
- Kubernetes 1.11+
release:
name: stash-postgres-10.2-beta.20200709
name: stash-postgres-10.2-beta.20200826
namespace: kube-system
5 changes: 1 addition & 4 deletions charts/stash-postgres/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
nameOverride: ""
# Overrides fullname template
fullnameOverride: ""

image:
# Docker registry used to pull Postgres addon image
registry: stashed
# Docker image used to backup/restore PosegreSQL database
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: "10.2"

tag: 10.2-beta.20200826
backup:
# Postgres dump command, can either be: pg_dumpall or pg_dump
cmd: "pg_dumpall"
Expand All @@ -24,6 +22,5 @@ backup:
restore:
# Arguments to pass to `psql` command during restore process
args: ""

# Number of seconds to wait for the database to be ready before backup/restore process.
waitTimeout: 300
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ require (
k8s.io/apimachinery v0.18.3
k8s.io/client-go v12.0.0+incompatible
k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
kmodules.xyz/client-go v0.0.0-20200714060506-0b57b4060595
kmodules.xyz/client-go v0.0.0-20200818171030-24b2ce405feb
kmodules.xyz/crd-schema-fuzz v0.0.0-20200521005638-2433a187de95
kmodules.xyz/custom-resources v0.0.0-20200604135349-9e9f5c4fdba9
kmodules.xyz/offshoot-api v0.0.0-20200521035628-e135bf07b226
sigs.k8s.io/yaml v1.2.0
stash.appscode.dev/apimachinery v0.10.0-beta.1.0.20200717091944-a8f3bb469467
stash.appscode.dev/apimachinery v0.10.0-rc.0
)

replace bitbucket.org/ww/goautoneg => gomodules.xyz/goautoneg v0.0.0-20120707110453-a547fc61f48d
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,8 @@ kmodules.xyz/client-go v0.0.0-20200521005126-35ce6bd4ed46/go.mod h1:sY/eoe4ktxZE
kmodules.xyz/client-go v0.0.0-20200521065424-173e32c78a20/go.mod h1:sY/eoe4ktxZEoHpr5NpAQ5s22VSwTE8psJtKVeVgLRY=
kmodules.xyz/client-go v0.0.0-20200525195850-2fd180961371 h1:PPawDOMyDHGeDPN8j1epNozaIB/Z7MlJsXpwm/r4jgk=
kmodules.xyz/client-go v0.0.0-20200525195850-2fd180961371/go.mod h1:sY/eoe4ktxZEoHpr5NpAQ5s22VSwTE8psJtKVeVgLRY=
kmodules.xyz/client-go v0.0.0-20200714060506-0b57b4060595 h1:KgvN4M8VbHU6JV4rgYzsUKYhUtF1uCt//dLOyEdG330=
kmodules.xyz/client-go v0.0.0-20200714060506-0b57b4060595/go.mod h1:sY/eoe4ktxZEoHpr5NpAQ5s22VSwTE8psJtKVeVgLRY=
kmodules.xyz/client-go v0.0.0-20200818171030-24b2ce405feb h1:0yIIoTfkhR4JAgx8UyXbP7oAveVAOcf66+D+20Uj/Uc=
kmodules.xyz/client-go v0.0.0-20200818171030-24b2ce405feb/go.mod h1:sY/eoe4ktxZEoHpr5NpAQ5s22VSwTE8psJtKVeVgLRY=
kmodules.xyz/constants v0.0.0-20200506032633-a21e58ceec72/go.mod h1:DbiFk1bJ1KEO94t1SlAn7tzc+Zz95rSXgyUKa2nzPmY=
kmodules.xyz/crd-schema-fuzz v0.0.0-20200521005638-2433a187de95 h1:v0S/+ftzL6Xrs9XevgchAOJyPKlRQXPiZf87xotj3X4=
kmodules.xyz/crd-schema-fuzz v0.0.0-20200521005638-2433a187de95/go.mod h1:jpu8xFsDKd6kAWUAKk8oTu/GQGBWqhrcaDeOJdaCJnk=
Expand Down Expand Up @@ -947,6 +947,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.10.0-beta.1.0.20200717091944-a8f3bb469467 h1:ghoHaD+TRpDGB1sjA6F+4wT4uKNF/hhbulzARzO7AXE=
stash.appscode.dev/apimachinery v0.10.0-beta.1.0.20200717091944-a8f3bb469467/go.mod h1:lyIgBXoTj0cugPfVQC5IjOsMiQEx0YQuvr3KycGltyU=
stash.appscode.dev/apimachinery v0.10.0-rc.0 h1:eapfPKJjFFh+YlZtJ2KVdngHG0jvjl/hOBLkj1hHejI=
stash.appscode.dev/apimachinery v0.10.0-rc.0/go.mod h1:TpdBIAiHCtpkUB13SDUyCZ6y+5wmzXBMAf9e72cSPO4=
vbom.ml/util v0.0.0-20160121211510-db5cfe13f5cc/go.mod h1:so/NYdZXCz+E3ZpW0uAoCj6uzU2+8OWDFv/HxUSs7kI=
49 changes: 49 additions & 0 deletions vendor/k8s.io/client-go/metadata/interface.go

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

Loading