File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/deployment/orchestrator Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,7 @@ 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 starting_csv=${7:- }
109- local spec_extra=" "
110- [[ -n " $starting_csv " ]] && spec_extra=" startingCSV: $starting_csv "
108+ local name=$1 namespace=$2 channel=$3 package=$4 source_name=$5 source_namespace=$6
111109 oc apply -f - << EOD
112110apiVersion: operators.coreos.com/v1alpha1
113111kind: Subscription
@@ -120,7 +118,6 @@ spec:
120118 name: $package
121119 source: $source_name
122120 sourceNamespace: $source_namespace
123- ${spec_extra}
124121EOD
125122 return 0
126123}
You can’t perform that action at this time.
0 commit comments