From e56d1e03778ad90b5d77f4a2f52d6d80b9586085 Mon Sep 17 00:00:00 2001 From: jackdelahunt Date: Tue, 5 Nov 2024 10:59:11 +0000 Subject: [PATCH] fix: wrong component name and path for datasciencepipelines --- apis/components/v1/datasciencepipelines_types.go | 2 +- .../datasciencepipelines/datasciencepipelines_controller.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/components/v1/datasciencepipelines_types.go b/apis/components/v1/datasciencepipelines_types.go index 51e76815d31..4fe6237a4bd 100644 --- a/apis/components/v1/datasciencepipelines_types.go +++ b/apis/components/v1/datasciencepipelines_types.go @@ -22,7 +22,7 @@ import ( ) const ( - DataSciencePipelinesComponentName = "datasciencepipelines" + DataSciencePipelinesComponentName = "data-science-pipelines-operator" // value should match whats set in the XValidation below DataSciencePipelinesInstanceName = "default-datasciencepipelines" DataSciencePipelinesKind = "DataSciencePipelines" diff --git a/controllers/components/datasciencepipelines/datasciencepipelines_controller.go b/controllers/components/datasciencepipelines/datasciencepipelines_controller.go index b3f5df40722..af997f5cbf6 100644 --- a/controllers/components/datasciencepipelines/datasciencepipelines_controller.go +++ b/controllers/components/datasciencepipelines/datasciencepipelines_controller.go @@ -38,7 +38,7 @@ import ( ) var ( - DefaultPath = odhdeploy.DefaultManifestPath + "/" + componentsv1.DataSciencePipelinesComponentName + "/openshift" + DefaultPath = odhdeploy.DefaultManifestPath + "/" + componentsv1.DataSciencePipelinesComponentName + "/base" ) func NewComponentReconciler(ctx context.Context, mgr ctrl.Manager) error {