Skip to content

Commit

Permalink
backport: from rhods-2.5
Browse files Browse the repository at this point in the history
red-hat-data-services#157

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
  • Loading branch information
zdtsw committed Dec 8, 2023
1 parent 508449a commit 715268e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
14 changes: 0 additions & 14 deletions components/modelmeshserving/modelmeshserving.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
var (
ComponentName = "model-mesh"
Path = deploy.DefaultManifestPath + "/" + ComponentName + "/overlays/odh"
monitoringPath = deploy.DefaultManifestPath + "/" + "modelmesh-monitoring/base"
DependentComponentName = "odh-model-controller"
DependentPath = deploy.DefaultManifestPath + "/" + DependentComponentName + "/base"
)
Expand Down Expand Up @@ -147,19 +146,6 @@ func (m *ModelMeshServing) ReconcileComponent(ctx context.Context,
}
}

// Get monitoring namespace
var monitoringNamespace string
if dscispec.Monitoring.Namespace != "" {
monitoringNamespace = dscispec.Monitoring.Namespace
} else {
monitoringNamespace = dscispec.ApplicationsNamespace
}

// Ensure we do not deploy modelmesh-monitoring if it has been there from previous releases
if err = deploy.DeployManifestsFromPath(cli, owner, monitoringPath, monitoringNamespace, ComponentName, false); err != nil {
return err
}

// CloudService Monitoring handling
if platform == deploy.ManagedRhods {
if enabled {
Expand Down
3 changes: 0 additions & 3 deletions get_all_manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ rm -fr ./odh-manifests/* ./.odh-manifests-tmp/
mkdir -p ./.odh-manifests-tmp/ ./odh-manifests/
wget -q -c ${MANIFESTS_TARBALL_URL} -O - | tar -zxv -C ./.odh-manifests-tmp/ --strip-components 1 > /dev/null

# mm-monitroing
cp -r ./.odh-manifests-tmp/modelmesh-monitoring/ ./odh-manifests

# Dashboard
cp -r ./.odh-manifests-tmp/odh-dashboard/ ./odh-manifests/dashboard

Expand Down

0 comments on commit 715268e

Please sign in to comment.