Skip to content

Commit 8ec71f5

Browse files
authored
Merge branch 'main' into install-orch-fix
2 parents 2332895 + 112d36b commit 8ec71f5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/deployment/orchestrator/install-orchestrator.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ log::success() {
105105
# Operator subscription and status
106106
# ---------------------------------------------------------------------------
107107
install_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
112110
apiVersion: operators.coreos.com/v1alpha1
113111
kind: Subscription
@@ -120,7 +118,6 @@ spec:
120118
name: $package
121119
source: $source_name
122120
sourceNamespace: $source_namespace
123-
${spec_extra}
124121
EOD
125122
return 0
126123
}

0 commit comments

Comments
 (0)