File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ if [[ ${#@} -lt 1 || ${#@} -gt 2 ]]; then
14
14
exit 1
15
15
fi
16
16
17
- if kubectl get deployment olm-operator -n openshift-operator-lifecycle-manager -o=jsonpath= ' {.spec} ' > /dev/null 2>&1 ; then
17
+ if kubectl get deployment olm-operator -n openshift-operator-lifecycle-manager > /dev/null 2>&1 ; then
18
18
echo " OLM is already installed in a different configuration. This is common if you are not running a vanilla Kubernetes cluster. Exiting..."
19
19
exit 1
20
20
fi
@@ -24,7 +24,7 @@ base_url="${2:-${default_base_url}}"
24
24
url=" ${base_url} /${release} "
25
25
namespace=olm
26
26
27
- if kubectl get deployment olm-operator -n ${namespace} -o=jsonpath= ' {.spec} ' > /dev/null 2>&1 ; then
27
+ if kubectl get deployment olm-operator -n ${namespace} > /dev/null 2>&1 ; then
28
28
echo " OLM is already installed in ${namespace} namespace. Exiting..."
29
29
exit 1
30
30
fi
You can’t perform that action at this time.
0 commit comments