File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/deployment/orchestrator Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 121121 "typescript-eslint" : " ^8.48.1" ,
122122 "zx" : " ^8.8.5"
123123 },
124- "packageManager" : " yarn@3.8.7+sha512.bbe7e310ff7fd20dc63b111110f96fe18192234bb0d4f10441fa6b85d2b644c8923db8fbe6d7886257ace948440ab1f83325ad02af457a1806cdc97f03d2508e "
124+ "packageManager" : " yarn@3.8.7"
125125}
Original file line number Diff line number Diff line change @@ -105,7 +105,9 @@ log::success() {
105105# Operator subscription and status
106106# ---------------------------------------------------------------------------
107107install_subscription () {
108- local name=$1 namespace=$2 channel=$3 package=$4 source_name=$5 source_namespace=$6
108+ local name=$1 namespace=$2 channel=$3 package=$4 source_name=$5 source_namespace=$6 starting_csv=${7:- }
109+ local spec_extra=" "
110+ [[ -n " $starting_csv " ]] && spec_extra=" startingCSV: $starting_csv "
109111 oc apply -f - << EOD
110112apiVersion: operators.coreos.com/v1alpha1
111113kind: Subscription
@@ -118,6 +120,7 @@ spec:
118120 name: $package
119121 source: $source_name
120122 sourceNamespace: $source_namespace
123+ ${spec_extra}
121124EOD
122125 return 0
123126}
You can’t perform that action at this time.
0 commit comments