diff --git a/backend/src/routes/api/service/mlmd/index.ts b/backend/src/routes/api/service/mlmd/index.ts index e305137d1d..814d236d67 100644 --- a/backend/src/routes/api/service/mlmd/index.ts +++ b/backend/src/routes/api/service/mlmd/index.ts @@ -4,7 +4,7 @@ import { proxyService } from '../../../../utils/proxy'; export default proxyService( { apiGroup: 'datasciencepipelinesapplications.opendatahub.io', - apiVersion: 'v1alpha1', + apiVersion: 'v1', kind: 'DataSciencepipelinesApplication', plural: 'datasciencepipelinesapplications', }, diff --git a/backend/src/routes/api/service/pipelines/index.ts b/backend/src/routes/api/service/pipelines/index.ts index e1b29ab6c7..ffcb217e57 100644 --- a/backend/src/routes/api/service/pipelines/index.ts +++ b/backend/src/routes/api/service/pipelines/index.ts @@ -4,7 +4,7 @@ import { proxyService } from '../../../../utils/proxy'; export default proxyService( { apiGroup: 'datasciencepipelinesapplications.opendatahub.io', - apiVersion: 'v1alpha1', + apiVersion: 'v1', kind: 'DataSciencepipelinesApplication', plural: 'datasciencepipelinesapplications', }, diff --git a/frontend/src/__mocks__/mockDataSciencePipelinesApplicationK8sResource.ts b/frontend/src/__mocks__/mockDataSciencePipelinesApplicationK8sResource.ts index ccc586acf2..623f84e563 100644 --- a/frontend/src/__mocks__/mockDataSciencePipelinesApplicationK8sResource.ts +++ b/frontend/src/__mocks__/mockDataSciencePipelinesApplicationK8sResource.ts @@ -18,7 +18,7 @@ export const mockDataSciencePipelineApplicationK8sResource = ({ message = '', dspaSecretName = 'aws-connection-testdb', }: MockResourceConfigType): DSPipelineKind => ({ - apiVersion: 'datasciencepipelinesapplications.opendatahub.io/v1alpha1', + apiVersion: 'datasciencepipelinesapplications.opendatahub.io/v1', kind: 'DataSciencePipelinesApplication', metadata: { name, diff --git a/frontend/src/__tests__/cypress/cypress/fixtures/resources/yaml/dspa.yaml b/frontend/src/__tests__/cypress/cypress/fixtures/resources/yaml/dspa.yaml index 3f2c702c5d..4561e99ff7 100644 --- a/frontend/src/__tests__/cypress/cypress/fixtures/resources/yaml/dspa.yaml +++ b/frontend/src/__tests__/cypress/cypress/fixtures/resources/yaml/dspa.yaml @@ -1,8 +1,8 @@ -apiVersion: datasciencepipelinesapplications.opendatahub.io/v1alpha1 +apiVersion: datasciencepipelinesapplications.opendatahub.io/v1 kind: DataSciencePipelinesApplication metadata: name: dspa - namespace: {{NAMESPACE}} + namespace: { { NAMESPACE } } spec: apiServer: caBundleFileMountPath: '' @@ -32,14 +32,14 @@ spec: enableExternalRoute: false externalStorage: basePath: '' - bucket: {{AWS_S3_BUCKET}} + bucket: { { AWS_S3_BUCKET } } host: s3.amazonaws.com port: '' region: us-east-1 s3CredentialsSecret: accessKey: AWS_ACCESS_KEY_ID secretKey: AWS_SECRET_ACCESS_KEY - secretName: {{DSPA_SECRET_NAME}} + secretName: { { DSPA_SECRET_NAME } } scheme: https persistenceAgent: deploy: true diff --git a/frontend/src/api/models/pipelines.ts b/frontend/src/api/models/pipelines.ts index cad6e7cacb..9e64bc58fe 100644 --- a/frontend/src/api/models/pipelines.ts +++ b/frontend/src/api/models/pipelines.ts @@ -1,7 +1,7 @@ import { K8sModelCommon } from '@openshift/dynamic-plugin-sdk-utils'; export const DataSciencePipelineApplicationModel: K8sModelCommon = { - apiVersion: 'v1alpha1', + apiVersion: 'v1', apiGroup: 'datasciencepipelinesapplications.opendatahub.io', kind: 'DataSciencePipelinesApplication', plural: 'datasciencepipelinesapplications',