File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ ANALYZER_CONTAINER_REQUESTS_MEMORY="${ANALYZER_CONTAINER_REQUESTS_MEMORY:-0}"
2929ANALYZER_CONTAINER_REQUESTS_CPU=" ${ANALYZER_CONTAINER_REQUESTS_CPU:- 0} "
3030FEATURE_AUTH_REQUIRED=" ${FEATURE_AUTH_REQUIRED:- false} "
3131TIMEOUT=" ${TIMEOUT:- 15m} "
32+ OLM_VERSION=" ${OLM_VERSION:- 0.28.0} "
3233
3334if ! command -v kubectl > /dev/null 2>&1 ; then
3435 kubectl_bin=" ${__bin_dir} /kubectl"
@@ -96,7 +97,7 @@ install_operator() {
9697 || kubectl get subscription --namespace ${NAMESPACE} -o yaml konveyor-operator # Print subscription details when timed out
9798}
9899
99- kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install
100+ kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install --version ${OLM_VERSION}
100101olm_namespace=$( kubectl get clusterserviceversions.operators.coreos.com --all-namespaces | grep packageserver | awk ' {print $1}' )
101102kubectl rollout status -w deployment/olm-operator --namespace=" ${olm_namespace} "
102103kubectl rollout status -w deployment/catalog-operator --namespace=" ${olm_namespace} "
You can’t perform that action at this time.
0 commit comments