commit 4d964211e427c2f10842727f0974178b8310c1d3 parent 00c92dfd2a10002777c46ee844c690dddf39f6c7 Author: Vincent Demeester <vincent@sbr.pm> Date: Wed, 16 Oct 2019 16:44:11 +0200 profiles.kubernetes: update chos4 Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | pkgs/scripts/bin/chos4 | | | 31 | +++++++++++++++++++++++++++++++ |
1 file changed, 31 insertions(+), 0 deletions(-)
diff --git a/pkgs/scripts/bin/chos4 b/pkgs/scripts/bin/chos4 @@ -15,5 +15,36 @@ for machineset in $(oc get machineset -n openshift-machine-api -o name); do oc scale --replicas=2 ${machineset} -n openshift-machine-api done +echo ">>> install tekton in the cluster" +# This is needed when we want to test a non-released version +# cat <<EOF | oc apply -f- +# apiVersion: operators.coreos.com/v1 +# kind: OperatorSource +# metadata: +# name: sthaha-operators +# namespace: openshift-marketplace +# spec: +# type: appregistry +# endpoint: https://quay.io/cnr +# registryNamespace: sthaha +# displayName: "Sunil Operators" +# publisher: "Sunil Thaha" +# EOF +# +#sleep 10 + +cat <<EOF | oc apply -f- +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + name: openshift-pipelines-subscription + namespace: openshift-operators +spec: + channel: dev-preview + name: openshift-pipelines-operator + source: community-operators + sourceNamespace: openshift-marketplace +EOF + echo ">>> your cluster is ready :)" read