This repository was archived by the owner on Aug 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ function wait_for_all_pods {
3030 timeout 300 " oc get pods -n $1 2>&1 | grep -v -E '(Running|Completed|STATUS)'"
3131}
3232
33- # initialize the minishift knative profile
34- " $DIR /init-minishift-for-knative.sh"
35-
3633# initialize local repos dir
3734rm -rf " $REPO_DIR "
3835mkdir -p " $REPO_DIR "
3936
37+ # initialize the minishift knative profile
38+ " $DIR /init-minishift-for-knative.sh"
39+
4040# istio
4141git clone https://github.com/minishift/minishift-addons " $REPO_DIR /minishift-addons"
4242minishift addon install " $REPO_DIR /minishift-addons/add-ons/istio"
@@ -55,7 +55,9 @@ oc scale -n istio-system --replicas=0 statefulset/elasticsearch
5555
5656# OLM
5757git clone https://github.com/operator-framework/operator-lifecycle-manager " $REPO_DIR /olm"
58- oc create -f " $REPO_DIR /olm/deploy/okd/manifests/latest/"
58+ cat $REPO_DIR /olm/deploy/okd/manifests/latest/* .crd.yaml | oc apply -f -
59+ sleep 1
60+ find $REPO_DIR /olm/deploy/okd/manifests/latest/ -type f ! -name " *crd.yaml" | sort | xargs cat | oc create -f -
5961wait_for_all_pods openshift-operator-lifecycle-manager
6062# perms required by the OLM console: $REPO_DIR/olm/scripts/run_console_local.sh
6163oc adm policy add-cluster-role-to-user cluster-admin system:serviceaccount:kube-system:default
You can’t perform that action at this time.
0 commit comments