Skip to content

Commit

Permalink
Install default-catalogs from Catalogd release
Browse files Browse the repository at this point in the history
Note: setup.sh for extension-developer-e2e now removes the OperatorHub
clustercatalog so it doesn't interfere with testing.

Signed-off-by: Tayler Geiger <[email protected]>
  • Loading branch information
trgeiger committed Jul 26, 2024
1 parent 06b2455 commit 69e605d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/install.tpl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ kubectl_wait "cert-manager" "deployment/cert-manager-webhook" "60s"
kubectl apply -f "https://github.com/operator-framework/catalogd/releases/download/${catalogd_version}/catalogd.yaml"
kubectl_wait "olmv1-system" "deployment/catalogd-controller-manager" "60s"

kubectl apply -f "https://github.com/operator-framework/catalogd/releases/download/${catalogd_version}/default-catalogs.yaml"
kubectl wait --for=condition=Unpacked "clustercatalog/operatorhubio" --timeout="60s"

kubectl apply -f "${operator_controller_manifest}"
kubectl_wait "olmv1-system" "deployment/operator-controller-controller-manager" "60s"
9 changes: 9 additions & 0 deletions test/extension-developer-e2e/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ reg_bundle_img="${LOCAL_REGISTRY_HOST}/bundles/registry-v1/registry-bundle:v0.0.
catalog_img="${CATALOG_IMG}"
reg_pkg_name="${REG_PKG_NAME}"


########################################
# Remove the default OperatorHub.io
# ClusterCatalog
########################################

# We only want to worry about the test catalogs
kubectl delete clustercatalog operatorhubio

########################################
# Create the registry+v1 based extension
# and build + load images
Expand Down

0 comments on commit 69e605d

Please sign in to comment.