Skip to content

Commit c929975

Browse files
perdasilvaPer Goncalves da Silva
and
Per Goncalves da Silva
authored
Fix default catalog installation in install script (#1680)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent b5de66a commit c929975

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/install.tpl.sh

-5
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ kubectl_wait "olmv1-system" "deployment/catalogd-controller-manager" "60s"
7676
kubectl_wait "olmv1-system" "deployment/operator-controller-controller-manager" "60s"
7777

7878
if [[ "${install_default_catalogs}" != "false" ]]; then
79-
if [[ ! -f "$default_catalogs_manifest" ]]; then
80-
echo "Error: Missing required default catalogs manifest file at $default_catalogs_manifest"
81-
exit 1
82-
fi
83-
8479
kubectl apply -f "${default_catalogs_manifest}"
8580
kubectl wait --for=condition=Serving "clustercatalog/operatorhubio" --timeout="60s"
8681
fi

0 commit comments

Comments
 (0)