Skip to content
Closed
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
2 changes: 1 addition & 1 deletion apis/addons/v1alpha1/addon_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type Task struct {
// Valid values are:
// - "Restic": The underlying tool is [restic](https://restic.net/).
// - "WalG": The underlying tool is [wal-g](https://github.com/wal-g/wal-g).
// +kubebuilder:validation:Enum=Restic;WalG;Medusa;VolumeSnapshotter;Solr;ClickHouseBackup;Neo4jAdmin
// +kubebuilder:validation:Enum=Restic;WalG;Medusa;VolumeSnapshotter;Solr;ClickHouseBackup;Neo4jAdmin;Weaviate;Milvus
Driver apis.Driver `json:"driver,omitempty"`

// Executor specifies the type of entity that will execute the task. For example, it can be a Job,
Expand Down
4 changes: 3 additions & 1 deletion apis/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

// Driver specifies the name of underlying tool that is being used to upload the backed up data.
// +kubebuilder:validation:Enum=Restic;WalG;VolumeSnapshotter;Solr;Medusa;ClickHouseBackup;Neo4jAdmin
// +kubebuilder:validation:Enum=Restic;WalG;VolumeSnapshotter;Solr;Medusa;ClickHouseBackup;Neo4jAdmin;Weaviate;Milvus
type Driver string

const (
Expand All @@ -35,6 +35,8 @@ const (
DriverSolr Driver = "Solr"
DriverClickHouseBackup Driver = "ClickHouseBackup"
DriverNeo4jAdmin Driver = "Neo4jAdmin"
DriverWeaviate Driver = "Weaviate"
DriverMilvus Driver = "Milvus"
)

// VolumeSource specifies the source of volume to mount in the backup/restore executor
Expand Down
8 changes: 8 additions & 0 deletions crds/addons.kubestash.com_addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spec:
- Medusa
- ClickHouseBackup
- Neo4jAdmin
- Weaviate
- Milvus
- enum:
- Restic
- WalG
Expand All @@ -55,6 +57,8 @@ spec:
- Solr
- ClickHouseBackup
- Neo4jAdmin
- Weaviate
- Milvus
type: string
executor:
enum:
Expand Down Expand Up @@ -1075,6 +1079,8 @@ spec:
- Medusa
- ClickHouseBackup
- Neo4jAdmin
- Weaviate
- Milvus
- enum:
- Restic
- WalG
Expand All @@ -1083,6 +1089,8 @@ spec:
- Solr
- ClickHouseBackup
- Neo4jAdmin
- Weaviate
- Milvus
type: string
executor:
enum:
Expand Down
2 changes: 2 additions & 0 deletions crds/storage.kubestash.com_snapshots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ spec:
- Medusa
- ClickHouseBackup
- Neo4jAdmin
- Weaviate
- Milvus
type: string
duration:
type: string
Expand Down
Loading