Skip to content

Commit

Permalink
Remove via option (#693)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <[email protected]>
  • Loading branch information
ArnobKumarSaha authored Dec 18, 2024
1 parent e32f146 commit d43bbd6
Show file tree
Hide file tree
Showing 82 changed files with 716 additions and 423 deletions.
7 changes: 0 additions & 7 deletions apis/wizards/v1alpha1/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,13 @@ type BackupProfile struct {
Enable ToggleProfileOnBoolean `json:"enable"`
// +kubebuilder:default=BackupConfiguration
By BackupBy `json:"by"`
// +kubebuilder:default=Dump
Via BackupVia `json:"via"`
}

// +kubebuilder:validation:Enum=BackupConfiguration;BackupBlueprint
type BackupBy string

// +kubebuilder:validation:Enum=Dump;VolumeSnapshot
type BackupVia string

type ArchiverProfile struct {
Enable ToggleProfileOnBoolean `json:"enable"`
// +kubebuilder:default=Dump
Via BackupVia `json:"via"`
}

// *** Backup-related ends *** //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,8 @@ The following table lists the configurable parameters of the `chartsxhelmdev-clu
| spec.admin.backup.enable.default | | <code>true</code> |
| spec.admin.backup.enable.toggle | | <code>true</code> |
| spec.admin.backup.by | | <code>BackupConfiguration</code> |
| spec.admin.backup.via | | <code>Dump</code> |
| spec.admin.archiver.enable.default | | <code>false</code> |
| spec.admin.archiver.enable.toggle | | <code>true</code> |
| spec.admin.archiver.via | | <code>Dump</code> |
| spec.admin.pointInTimeRecovery.default | | <code>false</code> |
| spec.admin.pointInTimeRecovery.toggle | | <code>true</code> |
| spec.backup.tool | | <code>KubeStash</code> |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,8 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- enable
- via
type: object
backup:
properties:
Expand All @@ -89,16 +82,9 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- by
- enable
- via
type: object
clusterIssuers:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,10 @@ spec:
default: true
toggle: true
by: BackupConfiguration
via: Dump
archiver:
enable:
default: false
toggle: true
via: Dump
pointInTimeRecovery:
default: false
toggle: true
Expand Down
2 changes: 0 additions & 2 deletions charts/kubedbcom-clickhouse-editor-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,8 @@ The following table lists the configurable parameters of the `kubedbcom-clickhou
| spec.admin.backup.enable.default | | <code>false</code> |
| spec.admin.backup.enable.toggle | | <code>false</code> |
| spec.admin.backup.by | | <code>BackupConfiguration</code> |
| spec.admin.backup.via | | <code>Dump</code> |
| spec.admin.archiver.enable.default | | <code>false</code> |
| spec.admin.archiver.enable.toggle | | <code>false</code> |
| spec.admin.archiver.via | | <code>Dump</code> |
| spec.admin.pointInTimeRecovery.default | | <code>false</code> |
| spec.admin.pointInTimeRecovery.toggle | | <code>false</code> |
| spec.backup.tool | | <code>""</code> |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -927,15 +927,8 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- enable
- via
type: object
backup:
properties:
Expand All @@ -955,16 +948,9 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- by
- enable
- via
type: object
clusterIssuers:
properties:
Expand Down
2 changes: 0 additions & 2 deletions charts/kubedbcom-clickhouse-editor-options/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,10 @@ spec:
default: false
toggle: false
by: BackupConfiguration
via: Dump
archiver:
enable:
default: false
toggle: false
via: Dump
pointInTimeRecovery:
default: false
toggle: false
Expand Down
2 changes: 0 additions & 2 deletions charts/kubedbcom-druid-editor-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,8 @@ The following table lists the configurable parameters of the `kubedbcom-druid-ed
| spec.admin.backup.enable.default | | <code>true</code> |
| spec.admin.backup.enable.toggle | | <code>true</code> |
| spec.admin.backup.by | | <code>BackupConfiguration</code> |
| spec.admin.backup.via | | <code>Dump</code> |
| spec.admin.archiver.enable.default | | <code>false</code> |
| spec.admin.archiver.enable.toggle | | <code>false</code> |
| spec.admin.archiver.via | | <code>Dump</code> |
| spec.admin.pointInTimeRecovery.default | | <code>false</code> |
| spec.admin.pointInTimeRecovery.toggle | | <code>false</code> |
| spec.backup.tool | | <code>""</code> |
Expand Down
14 changes: 0 additions & 14 deletions charts/kubedbcom-druid-editor-options/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,8 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- enable
- via
type: object
backup:
properties:
Expand All @@ -355,16 +348,9 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- by
- enable
- via
type: object
clusterIssuers:
properties:
Expand Down
2 changes: 0 additions & 2 deletions charts/kubedbcom-druid-editor-options/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,10 @@ spec:
default: true
toggle: true
by: BackupConfiguration
via: Dump
archiver:
enable:
default: false
toggle: false
via: Dump
pointInTimeRecovery:
default: false
toggle: false
Expand Down
2 changes: 0 additions & 2 deletions charts/kubedbcom-elasticsearch-editor-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,8 @@ The following table lists the configurable parameters of the `kubedbcom-elastics
| spec.admin.backup.enable.default | | <code>true</code> |
| spec.admin.backup.enable.toggle | | <code>true</code> |
| spec.admin.backup.by | | <code>BackupConfiguration</code> |
| spec.admin.backup.via | | <code>Dump</code> |
| spec.admin.archiver.enable.default | | <code>false</code> |
| spec.admin.archiver.enable.toggle | | <code>false</code> |
| spec.admin.archiver.via | | <code>Dump</code> |
| spec.admin.pointInTimeRecovery.default | | <code>false</code> |
| spec.admin.pointInTimeRecovery.toggle | | <code>false</code> |
| spec.backup.tool | | <code>""</code> |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -846,15 +846,8 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- enable
- via
type: object
backup:
properties:
Expand All @@ -874,16 +867,9 @@ properties:
- default
- toggle
type: object
via:
default: Dump
enum:
- Dump
- VolumeSnapshot
type: string
required:
- by
- enable
- via
type: object
clusterIssuers:
properties:
Expand Down
2 changes: 0 additions & 2 deletions charts/kubedbcom-elasticsearch-editor-options/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,10 @@ spec:
default: true
toggle: true
by: BackupConfiguration
via: Dump
archiver:
enable:
default: false
toggle: false
via: Dump
pointInTimeRecovery:
default: false
toggle: false
Expand Down
2 changes: 0 additions & 2 deletions charts/kubedbcom-ferretdb-editor-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,8 @@ The following table lists the configurable parameters of the `kubedbcom-ferretdb
| spec.admin.backup.enable.default | | <code>false</code> |
| spec.admin.backup.enable.toggle | | <code>false</code> |
| spec.admin.backup.by | | <code>BackupConfiguration</code> |
| spec.admin.backup.via | | <code>Dump</code> |
| spec.admin.archiver.enable.default | | <code>false</code> |
| spec.admin.archiver.enable.toggle | | <code>false</code> |
| spec.admin.archiver.via | | <code>Dump</code> |
| spec.admin.pointInTimeRecovery.default | | <code>false</code> |
| spec.admin.pointInTimeRecovery.toggle | | <code>false</code> |
| spec.backup.tool | | <code>""</code> |
Expand Down
Loading

0 comments on commit d43bbd6

Please sign in to comment.