Skip to content

Commit

Permalink
Update image
Browse files Browse the repository at this point in the history
Signed-off-by: hmsayem <[email protected]>
  • Loading branch information
hmsayem committed Jan 23, 2024
1 parent 6e2d7a2 commit fd2872e
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 304 deletions.
17 changes: 0 additions & 17 deletions apis/installer/v1alpha1/kubedb_kubestash_catalog_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ type KubedbKubestashCatalogSpec struct {
Mysql StashMysqlSpec `json:"mysql"`
Redis StashRedisSpec `json:"redis"`
Postgres StashPostgresSpec `json:"postgres"`
Mariadb StashMariadbSpec `json:"mariadb"`
}

// StashElasticsearchSpec is the schema for Stash Elasticsearch values file
Expand Down Expand Up @@ -137,22 +136,6 @@ type MySQLRestore struct {
Args string `json:"args"`
}

// StashMariadbSpec is the schema for Stash MySQL values file
type StashMariadbSpec struct {
Backup MariaDBBackup `json:"backup"`
Restore MariaDBRestore `json:"restore"`
}

type MariaDBBackup struct {
// +optional
Args string `json:"args"`
}

type MariaDBRestore struct {
// +optional
Args string `json:"args"`
}

// StashRedisSpec is the schema for Stash Redis values file
type StashRedisSpec struct {
Backup RedisBackup `json:"backup"`
Expand Down
51 changes: 0 additions & 51 deletions apis/installer/v1alpha1/zz_generated.deepcopy.go

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

53 changes: 0 additions & 53 deletions catalog/kubestash/raw/mariadb/mariadb-addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,6 @@ metadata:
name: mariadb-addon
spec:
backupTasks:
- name: logical-backup
function: mariadb-backup
driver: Restic
executor: Job
singleton: true
parameters:
- name: args
usage: Arguments to be passed to the dump command.
required: false
- name: databases
usage: List of databases to backup.
required: false
- name: enableCache
usage: Enable or disable caching. Disabling caching may impact backup performance.
required: false
default: "true"
- name: scratchDir
usage: Directory for holding temporary files and restic cache.
required: false
default: /kubestash-tmp
volumeTemplate:
- name: kubestash-tmp-volume
usage: Holds temporary files and restic cache.
source:
emptyDir: {}
volumeMounts:
- name: kubestash-tmp-volume
mountPath: /kubestash-tmp
- name: volume-snapshot
function: mariadb-csi-snapshotter
driver: VolumeSnapshotter
Expand Down Expand Up @@ -64,31 +36,6 @@ spec:
- name: kubestash-tmp-volume
mountPath: /kubestash-tmp
restoreTasks:
- name: logical-backup-restore
function: mariadb-restore
driver: Restic
executor: Job
singleton: true
parameters:
- name: args
usage: Arguments to be passed to the dump command.
required: false
- name: enableCache
usage: Enable or disable caching. Disabling caching may impact backup performance.
required: false
default: "true"
- name: scratchDir
usage: Directory for holding temporary files and restic cache.
required: false
default: /kubestash-tmp
volumeTemplate:
- name: kubestash-tmp-volume
usage: Holds temporary files and restic cache.
source:
emptyDir: {}
volumeMounts:
- name: kubestash-tmp-volume
mountPath: /kubestash-tmp
- name: manifest-restore
function: kubedbmanifest-restore
driver: Restic
Expand Down
16 changes: 0 additions & 16 deletions catalog/kubestash/raw/mariadb/mariadb-backup-function.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
- --namespace=${namespace:=default}
- --volume-snapshot-class-name=${volumeSnapshotClassName:=}
- --backupsession=${backupSession:=}
image: ghcr.io/kubedb/mariadb-csi-snapshotter-plugin:v0.2.0-beta.1
image: ghcr.io/kubedb/mariadb-csi-snapshotter-plugin:v0.1.0-beta.1
16 changes: 0 additions & 16 deletions catalog/kubestash/raw/mariadb/mariadb-restore-function.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions charts/kubedb-kubestash-catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ The following table lists the configurable parameters of the `kubedb-kubestash-c
| postgres.restore.args | Arguments to pass to `psql` command during restore process | <code>""</code> |
| mysql.backup.args | Arguments to pass to `mysqldump` command during bakcup process | <code>""</code> |
| mysql.restore.args | Arguments to pass to `mysql` command during restore process | <code>""</code> |
| mariadb.backup.args | Arguments to pass to `mariadbdump` command during bakcup process | <code>""</code> |
| mariadb.restore.args | Arguments to pass to `mariadb` command during restore process | <code>""</code> |
| redis.backup.args | Arguments to pass to `redis-dump` command during bakcup process | <code>""</code> |
| redis.restore.args | Arguments to pass to `redis` command during restore process | <code>""</code> |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,6 @@ metadata:
{{- include "kubedb-kubestash-catalog.labels" . | nindent 4 }}
spec:
backupTasks:
- driver: Restic
executor: Job
function: mariadb-backup
name: logical-backup
parameters:
- name: args
required: false
usage: Arguments to be passed to the dump command.
- name: databases
required: false
usage: List of databases to backup.
- default: "true"
name: enableCache
required: false
usage: Enable or disable caching. Disabling caching may impact backup performance.
- default: /kubestash-tmp
name: scratchDir
required: false
usage: Directory for holding temporary files and restic cache.
singleton: true
volumeMounts:
- mountPath: /kubestash-tmp
name: kubestash-tmp-volume
volumeTemplate:
- name: kubestash-tmp-volume
source:
emptyDir: {}
usage: Holds temporary files and restic cache.
- driver: VolumeSnapshotter
executor: Job
function: mariadb-csi-snapshotter
Expand Down Expand Up @@ -72,31 +44,6 @@ spec:
emptyDir: {}
usage: Holds temporary files and restic cache.
restoreTasks:
- driver: Restic
executor: Job
function: mariadb-restore
name: logical-backup-restore
parameters:
- name: args
required: false
usage: Arguments to be passed to the dump command.
- default: "true"
name: enableCache
required: false
usage: Enable or disable caching. Disabling caching may impact backup performance.
- default: /kubestash-tmp
name: scratchDir
required: false
usage: Directory for holding temporary files and restic cache.
singleton: true
volumeMounts:
- mountPath: /kubestash-tmp
name: kubestash-tmp-volume
volumeTemplate:
- name: kubestash-tmp-volume
source:
emptyDir: {}
usage: Holds temporary files and restic cache.
- driver: Restic
executor: Job
function: kubedbmanifest-restore
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ spec:
- --namespace=${namespace:=default}
- --volume-snapshot-class-name=${volumeSnapshotClassName:=}
- --backupsession=${backupSession:=}
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-csi-snapshotter-plugin") $) }}:v0.2.0-beta.1'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-csi-snapshotter-plugin") $) }}:v0.1.0-beta.1'
{{ end }}

This file was deleted.

18 changes: 0 additions & 18 deletions charts/kubedb-kubestash-catalog/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,6 @@ properties:
required:
- enabled
type: object
mariadb:
description: StashMariadbSpec is the schema for Stash MySQL values file
properties:
backup:
properties:
args:
type: string
type: object
restore:
properties:
args:
type: string
type: object
required:
- backup
- restore
type: object
mongodb:
description: StashMongodbSpec is the schema for Stash MongoDB values file
properties:
Expand Down Expand Up @@ -161,7 +144,6 @@ required:
- elasticsearch
- featureGates
- kubedbmanifest
- mariadb
- mongodb
- mysql
- opensearch
Expand Down
8 changes: 0 additions & 8 deletions charts/kubedb-kubestash-catalog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,6 @@ mysql:
restore:
# Arguments to pass to `mysql` command during restore process
args: ""
mariadb:
# optional argument to send mariadbdump or mariadb command
backup:
# Arguments to pass to `mariadbdump` command during bakcup process
args: ""
restore:
# Arguments to pass to `mariadb` command during restore process
args: ""
redis:
# optional argument to send redis-dump or redis command
backup:
Expand Down
Loading

0 comments on commit fd2872e

Please sign in to comment.