From f5004c96bef55734387b054682a05de9efb2e647 Mon Sep 17 00:00:00 2001 From: Luca Burgazzoli Date: Wed, 23 Aug 2023 21:34:23 +0200 Subject: [PATCH] fix gen bundle script --- hack/scripts/gen_bundle.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/scripts/gen_bundle.sh b/hack/scripts/gen_bundle.sh index bd84a03..9ba86f1 100755 --- a/hack/scripts/gen_bundle.sh +++ b/hack/scripts/gen_bundle.sh @@ -32,8 +32,8 @@ echo "Patch bundle metadata" ${PROJECT_ROOT}/bin/yq -i \ '.metadata.annotations.containerImage = .spec.install.spec.deployments[0].spec.template.spec.containers[0].image' \ - "${PROJECT_ROOT}/bundle/dapr-operator-ng/manifests/${BUNDLE_NAME}.clusterserviceversion.yaml" + "${PROJECT_ROOT}/bundle/${BUNDLE_NAME}/manifests/${BUNDLE_NAME}.clusterserviceversion.yaml" echo "Validate bundle" -${PROJECT_ROOT}/bin/operator-sdk bundle validate "${PROJECT_ROOT}/bundle/${BUNDLE_NAME}" \ No newline at end of file +${PROJECT_ROOT}/bin/operator-sdk bundle validate "${PROJECT_ROOT}/bundle/${BUNDLE_NAME}"