Skip to content

Commit

Permalink
Use args5_7 for MySQL 5.7.x backup
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 17, 2023
1 parent 6255a69 commit 62281d8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/installer/v1alpha1/stash_catalog_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ type StashMysqlSpec struct {
type MySQLBackup struct {
// +optional
Args string `json:"args"`
// +optional
Args57 string `json:"args5_7"`
}

type MySQLRestore struct {
Expand Down
1 change: 1 addition & 0 deletions charts/stash-catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ The following table lists the configurable parameters of the `stash-catalog` cha
| mongodb.restore.args | Arguments to pass to `mongorestore` command during restore process | <code>""</code> |
| mysql.enabled | If true, deploys MySQL addon | <code>true</code> |
| mysql.backup.args | Arguments to pass to `mysqldump` command during bakcup process | <code>"--all-databases"</code> |
| mysql.backup.args5_7 | Arguments to pass to `mysqldump` command during MySQL 5.7.x bakcup process | <code>""</code> |
| mysql.restore.args | Arguments to pass to `mysql` command during restore process | <code>""</code> |
| perconaxtradb.enabled | If true, deploys Percona XtraDB addon | <code>true</code> |
| perconaxtradb.backup.args | Arguments to pass to `mysqldump` command during bakcup process | <code>"--all-databases"</code> |
Expand Down
2 changes: 2 additions & 0 deletions charts/stash-catalog/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ properties:
properties:
args:
type: string
args5_7:
type: string
type: object
enabled:
type: boolean
Expand Down
2 changes: 2 additions & 0 deletions charts/stash-catalog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ mysql:
backup:
# Arguments to pass to `mysqldump` command during bakcup process
args: "--all-databases"
# Arguments to pass to `mysqldump` command during MySQL 5.7.x bakcup process
args5_7: ""
restore:
# Arguments to pass to `mysql` command during restore process
args: ""
Expand Down
2 changes: 2 additions & 0 deletions charts/stash/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ properties:
properties:
args:
type: string
args5_7:
type: string
type: object
enabled:
type: boolean
Expand Down

0 comments on commit 62281d8

Please sign in to comment.