Skip to content

Commit 25604d6

Browse files
jyejarentkathole
authored andcommitted
Remaining conversion files for v1 API ver
Signed-off-by: jyejare <[email protected]>
1 parent b54d7ed commit 25604d6

40 files changed

+8888
-693
lines changed

infra/feast-operator/bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
66
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=feast-operator
88
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
9-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.38.0
9+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.39.1
1010
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1111
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4
1212

infra/feast-operator/bundle/manifests/feast-operator.clusterserviceversion.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
alm-examples: |-
66
[
77
{
8-
"apiVersion": "feast.dev/v1alpha1",
8+
"apiVersion": "feast.dev/v1",
99
"kind": "FeatureStore",
1010
"metadata": {
1111
"name": "sample"
@@ -15,7 +15,7 @@ metadata:
1515
}
1616
},
1717
{
18-
"apiVersion": "feast.dev/v1alpha1",
18+
"apiVersion": "feast.dev/v1",
1919
"kind": "FeatureStore",
2020
"metadata": {
2121
"name": "sample-remote-servers"
@@ -36,7 +36,7 @@ metadata:
3636
}
3737
},
3838
{
39-
"apiVersion": "feast.dev/v1alpha1",
39+
"apiVersion": "feast.dev/v1",
4040
"kind": "FeatureStore",
4141
"metadata": {
4242
"name": "sample-ui"
@@ -50,15 +50,20 @@ metadata:
5050
}
5151
]
5252
capabilities: Basic Install
53-
createdAt: "2025-11-13T20:26:23Z"
54-
operators.operatorframework.io/builder: operator-sdk-v1.38.0
53+
createdAt: "2025-12-15T13:55:48Z"
54+
operators.operatorframework.io/builder: operator-sdk-v1.39.1
5555
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
5656
name: feast-operator.v0.57.0
5757
namespace: placeholder
5858
spec:
5959
apiservicedefinitions: {}
6060
customresourcedefinitions:
6161
owned:
62+
- description: FeatureStore is the Schema for the featurestores API
63+
displayName: Feature Store
64+
kind: FeatureStore
65+
name: featurestores.feast.dev
66+
version: v1
6267
- description: FeatureStore is the Schema for the featurestores API
6368
displayName: Feature Store
6469
kind: FeatureStore

infra/feast-operator/bundle/manifests/feast.dev_featurestores.yaml

Lines changed: 8276 additions & 1 deletion
Large diffs are not rendered by default.

infra/feast-operator/bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotations:
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: feast-operator
77
operators.operatorframework.io.bundle.channels.v1: alpha
8-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.38.0
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.39.1
99
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1010
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4
1111

infra/feast-operator/config/manifests/bases/feast-operator.clusterserviceversion.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ spec:
1010
apiservicedefinitions: {}
1111
customresourcedefinitions:
1212
owned:
13+
- description: FeatureStore is the Schema for the featurestores API
14+
displayName: Feature Store
15+
kind: FeatureStore
16+
name: featurestores.feast.dev
17+
version: v1
1318
- description: FeatureStore is the Schema for the featurestores API
1419
displayName: Feature Store
1520
kind: FeatureStore

infra/feast-operator/internal/controller/authz/authz.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"slices"
66

7-
feastdevv1alpha1 "github.com/feast-dev/feast/infra/feast-operator/api/v1alpha1"
7+
feastdevv1 "github.com/feast-dev/feast/infra/feast-operator/api/v1"
88
"github.com/feast-dev/feast/infra/feast-operator/internal/controller/services"
99
rbacv1 "k8s.io/api/rbac/v1"
1010
apimeta "k8s.io/apimachinery/pkg/api/meta"
@@ -337,15 +337,15 @@ func (authz *FeastAuthorization) getFeastRoleName() string {
337337
return GetFeastRoleName(authz.Handler.FeatureStore)
338338
}
339339

340-
func GetFeastRoleName(featureStore *feastdevv1alpha1.FeatureStore) string {
340+
func GetFeastRoleName(featureStore *feastdevv1.FeatureStore) string {
341341
return services.GetFeastName(featureStore)
342342
}
343343

344344
func (authz *FeastAuthorization) getFeastClusterRoleName() string {
345345
return GetFeastClusterRoleName(authz.Handler.FeatureStore)
346346
}
347347

348-
func GetFeastClusterRoleName(featureStore *feastdevv1alpha1.FeatureStore) string {
348+
func GetFeastClusterRoleName(featureStore *feastdevv1.FeatureStore) string {
349349
// Use a shared ClusterRole name for all Feast instances
350350
// This allows multiple FeatureStores to share the same Token Access Review permissions
351351
return "feast-token-review-cluster-role"
@@ -355,7 +355,7 @@ func (authz *FeastAuthorization) getFeastClusterRoleBindingName() string {
355355
return GetFeastClusterRoleBindingName(authz.Handler.FeatureStore)
356356
}
357357

358-
func GetFeastClusterRoleBindingName(featureStore *feastdevv1alpha1.FeatureStore) string {
358+
func GetFeastClusterRoleBindingName(featureStore *feastdevv1.FeatureStore) string {
359359
return services.GetFeastName(featureStore) + "-cluster-binding"
360360
}
361361

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package authz
22

33
import (
4-
feastdevv1alpha1 "github.com/feast-dev/feast/infra/feast-operator/api/v1alpha1"
4+
feastdevv1 "github.com/feast-dev/feast/infra/feast-operator/api/v1"
55
"github.com/feast-dev/feast/infra/feast-operator/internal/controller/handler"
66
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
77
)
@@ -14,15 +14,15 @@ type FeastAuthorization struct {
1414
var (
1515
feastKubernetesAuthConditions = map[metav1.ConditionStatus]metav1.Condition{
1616
metav1.ConditionTrue: {
17-
Type: feastdevv1alpha1.AuthorizationReadyType,
17+
Type: feastdevv1.AuthorizationReadyType,
1818
Status: metav1.ConditionTrue,
19-
Reason: feastdevv1alpha1.ReadyReason,
20-
Message: feastdevv1alpha1.KubernetesAuthzReadyMessage,
19+
Reason: feastdevv1.ReadyReason,
20+
Message: feastdevv1.KubernetesAuthzReadyMessage,
2121
},
2222
metav1.ConditionFalse: {
23-
Type: feastdevv1alpha1.AuthorizationReadyType,
23+
Type: feastdevv1.AuthorizationReadyType,
2424
Status: metav1.ConditionFalse,
25-
Reason: feastdevv1alpha1.KubernetesAuthzFailedReason,
25+
Reason: feastdevv1.KubernetesAuthzFailedReason,
2626
},
2727
}
2828
)

0 commit comments

Comments
 (0)