We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51fe6da commit ef6ae6aCopy full SHA for ef6ae6a
scripts/install.sh
@@ -24,6 +24,11 @@ base_url="${2:-${default_base_url}}"
24
url="${base_url}/${release}"
25
namespace=olm
26
27
+if kubectl get deployment olm-operator -n ${namespace} -o=jsonpath='{.spec}' > /dev/null 2>&1; then
28
+ echo "OLM is already installed in ${namespace} namespace. Exiting..."
29
+ exit 1
30
+fi
31
+
32
kubectl apply -f "${url}/crds.yaml"
33
kubectl wait --for=condition=Established -f "${url}/crds.yaml"
34
kubectl apply -f "${url}/olm.yaml"
0 commit comments