diff --git a/components/kserve/servicemesh_setup.go b/components/kserve/servicemesh_setup.go index 6655abddde9..5da7d66f9e4 100644 --- a/components/kserve/servicemesh_setup.go +++ b/components/kserve/servicemesh_setup.go @@ -66,13 +66,6 @@ func (k *Kserve) defineServiceMeshFeatures(ctx context.Context, cli client.Clien fmt.Println("WARN: Authorino operator is not installed on the cluster, skipping authorization capability") } - return registry.Add(feature.Define("kserve-temporary-fixes"). - ManifestsLocation(Resources.Location). - Manifests( - path.Join(Resources.ServiceMeshDir, "grpc-envoyfilter-temp-fix.tmpl.yaml"), - ). - Managed(). - WithData(servicemesh.FeatureData.ControlPlane.Define(dscispec).AsAction()), - ) + return nil } } diff --git a/pkg/upgrade/upgrade.go b/pkg/upgrade/upgrade.go index 963c5bcab77..d0ac18fc426 100644 --- a/pkg/upgrade/upgrade.go +++ b/pkg/upgrade/upgrade.go @@ -25,6 +25,7 @@ import ( dscv1 "github.com/opendatahub-io/opendatahub-operator/v2/apis/datasciencecluster/v1" dsciv1 "github.com/opendatahub-io/opendatahub-operator/v2/apis/dscinitialization/v1" + featuresv1 "github.com/opendatahub-io/opendatahub-operator/v2/apis/features/v1" infrav1 "github.com/opendatahub-io/opendatahub-operator/v2/apis/infrastructure/v1" "github.com/opendatahub-io/opendatahub-operator/v2/components" "github.com/opendatahub-io/opendatahub-operator/v2/components/codeflare" @@ -249,6 +250,10 @@ func CleanupExistingResource(ctx context.Context, cli client.Client, platform cl // Handling for dashboard OdhApplication Jupyterhub CR, see jira #443 multiErr = multierror.Append(multiErr, removOdhApplicationsCR(ctx, cli, gvk.OdhApplication, "jupyterhub", dscApplicationsNamespace)) + // cleanup for github.com/opendatahub-io/pull/888 + deprecatedFeatureTrackers := []string{dscApplicationsNamespace + "-kserve-temporary-fixes"} + multiErr = multierror.Append(multiErr, deleteDeprecatedResources(ctx, cli, dscApplicationsNamespace, deprecatedFeatureTrackers, &featuresv1.FeatureTrackerList{})) + // Handling for dashboard OdhDocument Jupyterhub CR, see jira #443 comments odhDocJPH := getJPHOdhDocumentResources( dscApplicationsNamespace,