Skip to content

Commit

Permalink
fix gen bundle script
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Aug 23, 2023
1 parent 28dc759 commit f5004c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/scripts/gen_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
${PROJECT_ROOT}/bin/operator-sdk bundle validate "${PROJECT_ROOT}/bundle/${BUNDLE_NAME}"

0 comments on commit f5004c9

Please sign in to comment.