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}"