Skip to content

Commit 0ee8353

Browse files
chore: Updating operator to handle clickhouse (#5362)
* chore: Updating operator to handle clickhouse Signed-off-by: Francisco Javier Arceo <farceo@redhat.com> * removing files that were autoformatted Signed-off-by: Francisco Javier Arceo <farceo@redhat.com> --------- Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
1 parent 9ed2ffa commit 0ee8353

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

infra/feast-operator/api/v1alpha1/featurestore_types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ type GitCloneOptions struct {
105105
type FeastInitOptions struct {
106106
Minimal bool `json:"minimal,omitempty"`
107107
// Template for the created project
108-
// +kubebuilder:validation:Enum=local;gcp;aws;snowflake;spark;postgres;hbase;cassandra;hazelcast;ikv;couchbase
108+
// +kubebuilder:validation:Enum=local;gcp;aws;snowflake;spark;postgres;hbase;cassandra;hazelcast;ikv;couchbase;clickhouse
109109
Template string `json:"template,omitempty"`
110110
}
111111

@@ -315,7 +315,7 @@ var ValidOfflineStoreFilePersistenceTypes = []string{
315315
// OfflineStoreDBStorePersistence configures the DB store persistence for the offline store service
316316
type OfflineStoreDBStorePersistence struct {
317317
// Type of the persistence type you want to use.
318-
// +kubebuilder:validation:Enum=snowflake.offline;bigquery;redshift;spark;postgres;trino;athena;mssql;couchbase.offline
318+
// +kubebuilder:validation:Enum=snowflake.offline;bigquery;redshift;spark;postgres;trino;athena;mssql;couchbase.offline;clickhouse
319319
Type string `json:"type"`
320320
// Data store parameters should be placed as-is from the "feature_store.yaml" under the secret key. "registry_type" & "type" fields should be removed.
321321
SecretRef corev1.LocalObjectReference `json:"secretRef"`
@@ -333,6 +333,7 @@ var ValidOfflineStoreDBStorePersistenceTypes = []string{
333333
"athena",
334334
"mssql",
335335
"couchbase.offline",
336+
"clickhouse",
336337
}
337338

338339
// OnlineStore configures the online store service

infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ spec:
668668
- hazelcast
669669
- ikv
670670
- couchbase
671+
- clickhouse
671672
type: string
672673
type: object
673674
type: object
@@ -840,6 +841,7 @@ spec:
840841
- athena
841842
- mssql
842843
- couchbase.offline
844+
- clickhouse
843845
type: string
844846
required:
845847
- secretRef
@@ -4618,6 +4620,7 @@ spec:
46184620
- hazelcast
46194621
- ikv
46204622
- couchbase
4623+
- clickhouse
46214624
type: string
46224625
type: object
46234626
type: object
@@ -4792,6 +4795,7 @@ spec:
47924795
- athena
47934796
- mssql
47944797
- couchbase.offline
4798+
- clickhouse
47954799
type: string
47964800
required:
47974801
- secretRef

infra/feast-operator/dist/install.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ spec:
676676
- hazelcast
677677
- ikv
678678
- couchbase
679+
- clickhouse
679680
type: string
680681
type: object
681682
type: object
@@ -848,6 +849,7 @@ spec:
848849
- athena
849850
- mssql
850851
- couchbase.offline
852+
- clickhouse
851853
type: string
852854
required:
853855
- secretRef
@@ -4626,6 +4628,7 @@ spec:
46264628
- hazelcast
46274629
- ikv
46284630
- couchbase
4631+
- clickhouse
46294632
type: string
46304633
type: object
46314634
type: object
@@ -4800,6 +4803,7 @@ spec:
48004803
- athena
48014804
- mssql
48024805
- couchbase.offline
4806+
- clickhouse
48034807
type: string
48044808
required:
48054809
- secretRef

0 commit comments

Comments
 (0)