Skip to content

Commit 0c2d566

Browse files
Merge pull request #484 from darkdoc/fix_local_build_deploy
fix: specify the exact subscription api
2 parents 1bb7049 + c1c381f commit 0c2d566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/operator-build-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ wait_for_resource "operator" "${OPERATOR}" "${NS}"
8484

8585
while true; do
8686
set +e
87-
INSTALLED_CSV=$(oc get subscription "${OPERATOR}" -n "${NS}" -o jsonpath='{.status.installedCSV}')
87+
INSTALLED_CSV=$(oc get subscriptions.operators.coreos.com "${OPERATOR}" -n "${NS}" -o jsonpath='{.status.installedCSV}')
8888
if [ -z "${INSTALLED_CSV}" ]; then
8989
sleep 10
9090
else

0 commit comments

Comments
 (0)