Skip to content

Commit 0111021

Browse files
authored
feat: Feature Store API version v1alpha1 depreciated for v1 version (opendatahub-io#5784)
Signed-off-by: jyejare <jyejare@redhat.com>
1 parent 8ee98fc commit 0111021

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

backend/src/__tests__/featureStoreUtils.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const createClientConfigInfo = (overrides: Partial<ClientConfigInfo> = {}): Clie
9090
});
9191

9292
const createFeatureStoreCRD = (overrides: Partial<FeatureStoreCRD> = {}): FeatureStoreCRD => ({
93-
apiVersion: 'feast.dev/v1alpha1',
93+
apiVersion: 'feast.dev/v1',
9494
kind: 'FeatureStore',
9595
metadata: {
9696
name: PROJECT.BANKING,

backend/src/routes/api/featurestores/featureStores.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function fetchFeatureStoreCRDs(
5656
try {
5757
const response = (await fastify.kube.customObjectsApi.listNamespacedCustomObject(
5858
'feast.dev',
59-
'v1alpha1',
59+
'v1',
6060
namespace,
6161
'featurestores',
6262
)) as CustomObjectResponse;

frontend/src/api/models/odh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const LMEvalModel: K8sModelCommon = {
7171
};
7272

7373
export const FeatureStoreModel: K8sModelCommon = {
74-
apiVersion: 'v1alpha1',
74+
apiVersion: 'v1',
7575
apiGroup: 'feast.dev',
7676
kind: 'FeatureStore',
7777
plural: 'featurestores',

packages/cypress/cypress/fixtures/resources/yaml/feast.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ stringData:
88
AWS_SECRET_ACCESS_KEY: ${awsSecretKey}
99
AWS_DEFAULT_REGION: ${awsDefaultRegion}
1010
---
11-
apiVersion: feast.dev/v1alpha1
11+
apiVersion: feast.dev/v1
1212
kind: FeatureStore
1313
metadata:
1414
name: test-s3

packages/cypress/cypress/support/commands/odh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ declare global {
858858
}>,
859859
) => Cypress.Chainable<null>) &
860860
((
861-
type: 'GET /api/k8s/apis/feast.dev/v1alpha1/namespaces/*/featurestores',
861+
type: 'GET /api/k8s/apis/feast.dev/v1/namespaces/*/featurestores',
862862
options: {
863863
query?: { labelSelector: string };
864864
},

packages/feature-store/src/__mocks__/mockFeatureStoreService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const mockFeatureStoreService = ({
3535
},
3636
ownerReferences: [
3737
{
38-
apiVersion: 'feast.dev/v1alpha1',
38+
apiVersion: 'feast.dev/v1',
3939
kind: 'FeatureStore',
4040
name: featureStoreName,
4141
uid: 'bf7d217f-4f10-4b67-b188-3d9478fc93ed',

0 commit comments

Comments
 (0)