diff --git a/apis/addons/v1alpha1/addon_types.go b/apis/addons/v1alpha1/addon_types.go index 29bb0a39..c35b271a 100644 --- a/apis/addons/v1alpha1/addon_types.go +++ b/apis/addons/v1alpha1/addon_types.go @@ -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, diff --git a/apis/types.go b/apis/types.go index 5afda4cc..df2f3895 100644 --- a/apis/types.go +++ b/apis/types.go @@ -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 ( @@ -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 diff --git a/crds/addons.kubestash.com_addons.yaml b/crds/addons.kubestash.com_addons.yaml index 39f9e4c2..9d6a9656 100644 --- a/crds/addons.kubestash.com_addons.yaml +++ b/crds/addons.kubestash.com_addons.yaml @@ -47,6 +47,8 @@ spec: - Medusa - ClickHouseBackup - Neo4jAdmin + - Weaviate + - Milvus - enum: - Restic - WalG @@ -55,6 +57,8 @@ spec: - Solr - ClickHouseBackup - Neo4jAdmin + - Weaviate + - Milvus type: string executor: enum: @@ -1075,6 +1079,8 @@ spec: - Medusa - ClickHouseBackup - Neo4jAdmin + - Weaviate + - Milvus - enum: - Restic - WalG @@ -1083,6 +1089,8 @@ spec: - Solr - ClickHouseBackup - Neo4jAdmin + - Weaviate + - Milvus type: string executor: enum: diff --git a/crds/storage.kubestash.com_snapshots.yaml b/crds/storage.kubestash.com_snapshots.yaml index e910c58f..5f05a96f 100644 --- a/crds/storage.kubestash.com_snapshots.yaml +++ b/crds/storage.kubestash.com_snapshots.yaml @@ -113,6 +113,8 @@ spec: - Medusa - ClickHouseBackup - Neo4jAdmin + - Weaviate + - Milvus type: string duration: type: string