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 5.7.25-v5 #246

Merged
merged 1 commit into from
Dec 17, 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-mysql/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: 'stash-mysql - MySQL database plugin for Stash by AppsCode'
name: stash-mysql
version: 5.7.25-v4
appVersion: 5.7.25-v4
version: 5.7.25-v5
appVersion: 5.7.25-v5
home: https://stash.run
icon: https://cdn.appscode.com/images/products/stash/addons/mysql-stash-addon.png
sources:
Expand Down
16 changes: 8 additions & 8 deletions charts/stash-mysql/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-mysql-5.7.25-v4 appscode/stash-mysql -n kube-system --version=5.7.25-v4
$ helm install stash-mysql-5.7.25-v5 appscode/stash-mysql -n kube-system --version=5.7.25-v5
```

## 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-mysql-5.7.25-v4`:
To install the chart with the release name `stash-mysql-5.7.25-v5`:

```console
$ helm install stash-mysql-5.7.25-v4 appscode/stash-mysql -n kube-system --version=5.7.25-v4
$ helm install stash-mysql-5.7.25-v5 appscode/stash-mysql -n kube-system --version=5.7.25-v5
```

The command deploys necessary `Function` and `Task` definition to backup or restore MySQL 5.7.25 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-mysql-5.7.25-v4`:
To uninstall/delete the `stash-mysql-5.7.25-v5`:

```console
$ helm delete stash-mysql-5.7.25-v4 -n kube-system
$ helm delete stash-mysql-5.7.25-v5 -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-mysql` chart
| fullnameOverride | Overrides fullname template | `""` |
| image.registry | Docker registry used to pull MySQL addon image | `stashed` |
| image.repository | Docker image used to backup/restore MySQL database | `stash-mysql` |
| image.tag | Tag of the image that is used to backup/restore MySQL database. This is usually same as the database version it can backup. | `5.7.25-v4` |
| image.tag | Tag of the image that is used to backup/restore MySQL database. This is usually same as the database version it can backup. | `5.7.25-v5` |
| backup.args | Arguments to pass to `mysqldump` command during bakcup process | `"--all-databases"` |
| restore.args | Arguments to pass to `mysql` command during restore process | `""` |
| waitTimeout | Number of seconds to wait for the database to be ready before backup/restore process. | `300` |
Expand All @@ -59,12 +59,12 @@ The following table lists the configurable parameters of the `stash-mysql` chart
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:

```console
$ helm install stash-mysql-5.7.25-v4 appscode/stash-mysql -n kube-system --version=5.7.25-v4 --set image.registry=stashed
$ helm install stash-mysql-5.7.25-v5 appscode/stash-mysql -n kube-system --version=5.7.25-v5 --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-mysql-5.7.25-v4 appscode/stash-mysql -n kube-system --version=5.7.25-v4 --values values.yaml
$ helm install stash-mysql-5.7.25-v5 appscode/stash-mysql -n kube-system --version=5.7.25-v5 --values values.yaml
```
4 changes: 2 additions & 2 deletions charts/stash-mysql/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repository:
name: appscode
chart:
name: stash-mysql
version: 5.7.25-v4
version: 5.7.25-v5
values: "-- generate from values file --"
valuesExample: "-- generate from values file --"
prerequisites:
- Kubernetes 1.11+
release:
name: stash-mysql-5.7.25-v4
name: stash-mysql-5.7.25-v5
namespace: kube-system
2 changes: 1 addition & 1 deletion charts/stash-mysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ image:
repository: stash-mysql
# Tag of the image that is used to backup/restore MySQL database.
# This is usually same as the database version it can backup.
tag: 5.7.25-v4
tag: 5.7.25-v5
# optional argument to send mysqldump or mysql command
backup:
# Arguments to pass to `mysqldump` command during bakcup process
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: mysql-backup-5.7.25-v4
name: mysql-backup-5.7.25-v5
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: MySQL # this label is mandatory if you are using KubeDB to deploy the database.
spec:
task:
name: mysql-restore-5.7.25-v4
name: mysql-restore-5.7.25-v5
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-20201124062543-bd8d35c21b0c
kmodules.xyz/offshoot-api v0.0.0-20201105074700-8675f5f686f2
sigs.k8s.io/yaml v1.2.0
stash.appscode.dev/apimachinery v0.11.6
stash.appscode.dev/apimachinery v0.11.8
)

replace bitbucket.org/ww/goautoneg => gomodules.xyz/goautoneg v0.0.0-20120707110453-a547fc61f48d
Expand Down
7 changes: 2 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,6 @@ golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200625001655-4c5254603344 h1:vGXIOMxbNfDTk/aXCmfdLgkrSV+Z2tcbze+pEc3v5W4=
golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
Expand Down Expand Up @@ -968,8 +967,6 @@ kmodules.xyz/client-go v0.0.0-20201208053851-a1d7be95e006/go.mod h1:WXDwZBmvrcLg
kmodules.xyz/constants v0.0.0-20200923054614-6b87dbbae4d6/go.mod h1:DbiFk1bJ1KEO94t1SlAn7tzc+Zz95rSXgyUKa2nzPmY=
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4 h1:NWWv+Qju8xzHZT9hIk1+BbgQtIytNOoCU4g4vqUmh3M=
kmodules.xyz/crd-schema-fuzz v0.0.0-20200922204806-c1426cd7fcf4/go.mod h1:WrO3fryNyFCgqqyWnwI89lnzWA7kN072Ehya7ELGfzE=
kmodules.xyz/custom-resources v0.0.0-20201105075444-3c6af51b4f79 h1:BKPPUY/w0ac4R6g172zrejs+MLae2CHGqHCFpzrbRLc=
kmodules.xyz/custom-resources v0.0.0-20201105075444-3c6af51b4f79/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c h1:OIAnTI2yik4i1DSe23kO+89RMw/Eu6WUG/IQ++ivYNo=
kmodules.xyz/custom-resources v0.0.0-20201124062543-bd8d35c21b0c/go.mod h1:/r3/eJ3LIfwGyBEVaobqUZRZGh7GJv5RJojj/bdD14Q=
kmodules.xyz/objectstore-api v0.0.0-20201105133858-cbb2af88d50a h1:FJ8Fwn+BCalLuzkhjmyDf7Fuh19LBIEf/Fx/+xaYDB0=
Expand Down Expand Up @@ -998,6 +995,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 h1:6JPVYugF6YdeSuLtFqeXTyi6k04owD6E6PxDTBpRsn4=
stash.appscode.dev/apimachinery v0.11.6/go.mod h1:JQtqMYDOMkcxmcsUnOiRhi/BIvFWlceAIcauBw1a48M=
stash.appscode.dev/apimachinery v0.11.8 h1:Po7gDpZqd+iQ8DR3zu1iJgIPQiFODPjiA6NIKhO2+7s=
stash.appscode.dev/apimachinery v0.11.8/go.mod h1:s91NxOW9K/CLv9Cl9XVCzBLgdKqVcUOyc9VrYg0NNB0=
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
# stash.appscode.dev/apimachinery v0.11.8
stash.appscode.dev/apimachinery/apis
stash.appscode.dev/apimachinery/apis/repositories
stash.appscode.dev/apimachinery/apis/repositories/v1alpha1
Expand Down

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ type BackupSessionSpec struct {
Invoker BackupInvokerRef `json:"invoker,omitempty" protobuf:"bytes,1,opt,name=invoker"`
}

// +kubebuilder:validation:Enum=Pending;Running;Succeeded;Failed;Unknown
// +kubebuilder:validation:Enum=Pending;Skipped;Running;Succeeded;Failed;Unknown
type BackupSessionPhase string

const (
BackupSessionPending BackupSessionPhase = "Pending"
BackupSessionSkipped BackupSessionPhase = "Skipped"
BackupSessionRunning BackupSessionPhase = "Running"
BackupSessionSucceeded BackupSessionPhase = "Succeeded"
BackupSessionFailed BackupSessionPhase = "Failed"
Expand Down

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

8 changes: 4 additions & 4 deletions vendor/stash.appscode.dev/apimachinery/crds/bindata.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ spec:
backup, Phase will be "Failed".
enum:
- Pending
- Skipped
- Running
- Succeeded
- Failed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ spec:
Phase will be "Failed".
enum:
- Pending
- Skipped
- Running
- Succeeded
- Failed
Expand Down