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 9.6-rc.20200826 #152

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: 9.6-beta.20200826
appVersion: 9.6-beta.20200826
version: 9.6-rc.20200826
appVersion: 9.6-rc.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-9.6-beta.20200826 appscode/stash-postgres -n kube-system --version=9.6-beta.20200826
$ helm install stash-postgres-9.6-rc.20200826 appscode/stash-postgres -n kube-system --version=9.6-rc.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-9.6-beta.20200826`:
To install the chart with the release name `stash-postgres-9.6-rc.20200826`:

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

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

```console
$ helm delete stash-postgres-9.6-beta.20200826 -n kube-system
$ helm delete stash-postgres-9.6-rc.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. | `9.6-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` |
| 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. | `9.6-rc.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-9.6-beta.20200826 appscode/stash-postgres -n kube-system --version=9.6-beta.20200826 --set image.registry=stashed
$ helm install stash-postgres-9.6-rc.20200826 appscode/stash-postgres -n kube-system --version=9.6-rc.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-9.6-beta.20200826 appscode/stash-postgres -n kube-system --version=9.6-beta.20200826 --values values.yaml
$ helm install stash-postgres-9.6-rc.20200826 appscode/stash-postgres -n kube-system --version=9.6-rc.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: 9.6-beta.20200826
version: 9.6-rc.20200826
values: "-- generate from values file --"
valuesExample: "-- generate from values file --"
prerequisites:
- Kubernetes 1.11+
release:
name: stash-postgres-9.6-beta.20200826
name: stash-postgres-9.6-rc.20200826
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: 9.6-beta.20200826
tag: 9.6-rc.20200826
backup:
# Postgres dump command, can either be: pg_dumpall or pg_dump
cmd: "pg_dumpall"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
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-rc.0
stash.appscode.dev/apimachinery v0.10.0-rc.1
)

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 @@ -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-rc.0 h1:eapfPKJjFFh+YlZtJ2KVdngHG0jvjl/hOBLkj1hHejI=
stash.appscode.dev/apimachinery v0.10.0-rc.0/go.mod h1:TpdBIAiHCtpkUB13SDUyCZ6y+5wmzXBMAf9e72cSPO4=
stash.appscode.dev/apimachinery v0.10.0-rc.1 h1:J2yxSXvBYhMu0WOl5mP6cOSwjS9AwkGZXM2u93sr8jA=
stash.appscode.dev/apimachinery v0.10.0-rc.1/go.mod h1:TpdBIAiHCtpkUB13SDUyCZ6y+5wmzXBMAf9e72cSPO4=
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 @@ -811,7 +811,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.10.0-rc.0
# stash.appscode.dev/apimachinery v0.10.0-rc.1
stash.appscode.dev/apimachinery/apis
stash.appscode.dev/apimachinery/apis/repositories
stash.appscode.dev/apimachinery/apis/repositories/v1alpha1
Expand Down