Skip to content

Commit

Permalink
fix: failed to get metric when install upstream ObO on OCP (#654)
Browse files Browse the repository at this point in the history
enable platform monitoring
  • Loading branch information
lihongyan1 authored Jan 10, 2025
1 parent 21f303b commit 6d7b707
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/run-e2e-ocp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ enable_ocp() {

oc apply -f "$CSV_JSON_FILE"
rm -f "$CSV_JSON_FILE"

# enable platform monitoring
oc label ns "$OPERATORS_NS" openshift.io/cluster-monitoring=true

oc wait --for=condition=Established crd/uiplugins.observability.openshift.io --timeout=60s
ok "Enable OCP mode successfully"
}
Expand Down

0 comments on commit 6d7b707

Please sign in to comment.