We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9e7d1 commit d7eead7Copy full SHA for d7eead7
scripts/install.sh
@@ -14,6 +14,12 @@ if [[ ${#@} -lt 1 || ${#@} -gt 2 ]]; then
14
exit 1
15
fi
16
17
+kubectl get deployment olm-operator -n openshift-operator-lifecycle-manager -o=jsonpath='{.spec}' > /dev/null 2>&1
18
+if [[ $? -eq 0 ]]; then
19
+ echo "OLM is already installed in a different configuration. This is common if you are not running a vanilla Kubernetes cluster. Exiting..."
20
+ exit 1
21
+fi
22
+
23
release="$1"
24
base_url="${2:-${default_base_url}}"
25
url="${base_url}/${release}"
0 commit comments