diff --git a/charts/stash-postgres/Chart.yaml b/charts/stash-postgres/Chart.yaml index d82975c1b..24f50452f 100644 --- a/charts/stash-postgres/Chart.yaml +++ b/charts/stash-postgres/Chart.yaml @@ -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: diff --git a/charts/stash-postgres/README.md b/charts/stash-postgres/README.md index 420b63a36..76945c67b 100644 --- a/charts/stash-postgres/README.md +++ b/charts/stash-postgres/README.md @@ -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 @@ -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. @@ -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. @@ -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 | `""` | @@ -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 ``` diff --git a/charts/stash-postgres/doc.yaml b/charts/stash-postgres/doc.yaml index 8e06d8aa2..1b5e9f837 100644 --- a/charts/stash-postgres/doc.yaml +++ b/charts/stash-postgres/doc.yaml @@ -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 diff --git a/charts/stash-postgres/values.yaml b/charts/stash-postgres/values.yaml index 5d54f05cb..fe3d5ed24 100644 --- a/charts/stash-postgres/values.yaml +++ b/charts/stash-postgres/values.yaml @@ -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" diff --git a/docs/examples/backup/backupconfiguration.yaml b/docs/examples/backup/backupconfiguration.yaml index 86028bb5b..50167ea03 100644 --- a/docs/examples/backup/backupconfiguration.yaml +++ b/docs/examples/backup/backupconfiguration.yaml @@ -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: diff --git a/docs/examples/restore/restoresession.yaml b/docs/examples/restore/restoresession.yaml index 4e2e0fc24..ff82bd103 100644 --- a/docs/examples/restore/restoresession.yaml +++ b/docs/examples/restore/restoresession.yaml @@ -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: diff --git a/go.mod b/go.mod index b18680600..8a6351bcc 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 3fe9b3f92..ed4fe0a63 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/vendor/modules.txt b/vendor/modules.txt index 4b42a5f1a..9109679b1 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -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