File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
config/internal/apiserver Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 85
85
- imagestreamtags
86
86
verbs:
87
87
- get
88
+ - apiGroups:
89
+ - route.openshift.io
90
+ verbs:
91
+ - get
92
+ resources:
93
+ - routes
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function create_and_verify_data_science_pipelines_resources() {
38
38
function check_data_science_pipeline_route() {
39
39
header " Checking Routes of Data Science Pipeline availability"
40
40
41
- os::cmd::try_until_text " oc get pods -n ${DSPAPROJECT} -l app=ds-pipeline-ui- sample --field-selector='status.phase=Running' -o jsonpath='{$.items[*].metadata.name}' | wc -w" " 1" $odhdefaulttimeout $odhdefaultinterval
41
+ os::cmd::try_until_text " oc get pods -n ${DSPAPROJECT} -l app=ds-pipeline-sample --field-selector='status.phase=Running' -o jsonpath='{$.items[*].metadata.name}' | wc -w" " 1" $odhdefaulttimeout $odhdefaultinterval
42
42
}
43
43
44
44
function setup_monitoring() {
@@ -59,8 +59,8 @@ function test_metrics() {
59
59
function fetch_runs() {
60
60
header " Fetch the dsp route and verify it works"
61
61
62
- ROUTE=$( oc get route -n ${DSPAPROJECT} ds-pipeline-ui- sample --template={{.spec.host}})
63
- SA_TOKEN=$( oc create token ds-pipeline-ui- sample -n ${DSPAPROJECT} )
62
+ ROUTE=$( oc get route -n ${DSPAPROJECT} ds-pipeline-sample --template={{.spec.host}})
63
+ SA_TOKEN=$( oc create token ds-pipeline-sample -n ${DSPAPROJECT} )
64
64
65
65
os::cmd::try_until_text " curl -s -k -H \" Authorization: Bearer ${SA_TOKEN} \" 'https://${ROUTE} /apis/v1beta1/runs'" " {}" $odhdefaulttimeout $odhdefaultinterval
66
66
}
You can’t perform that action at this time.
0 commit comments