Skip to content

Commit

Permalink
Merge pull request #14 from lburgazzoli/gen_bundle
Browse files Browse the repository at this point in the history
fix gen bundle script
  • Loading branch information
salaboy authored Aug 24, 2023
2 parents 28dc759 + f5004c9 commit bb6bcce
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 bb6bcce

Please sign in to comment.