fix gen bundle script

This commit is contained in:
Luca Burgazzoli 2023-08-23 21:34:23 +02:00
parent 28dc75987e
commit f5004c96be
No known key found for this signature in database
GPG Key ID: 238C46A40510C1A9
1 changed files with 2 additions and 2 deletions

View File

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