You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/12/20 16:28:56 UTC
[GitHub] [flink-kubernetes-operator] gyfora commented on a diff in pull request #491: [FLINK-30456] Fixing Version and provider in OLM Description
gyfora commented on code in PR #491:
URL: https://github.com/apache/flink-kubernetes-operator/pull/491#discussion_r1053512772
##########
tools/olm/docker-entry.sh:
##########
@@ -102,6 +96,10 @@ generate_olm_bundle() {
yq ea -i ".spec.replaces = \"${PACKAGE_NAME}.v${PREVIOUS_BUNDLE_VERSION}\" | .spec.replaces style=\"\"" "${CSV_FILE}"
yq ea -i "del(.subjects[0].namespace)" "${ROLE_BINDING}"
+
+ # Needed to replace description with new bundle values
+ sed -i "s/release-1.1/release-${BUNDLE_VERSION}/" "${CSV_FILE}"
+ sed -i "s/version: 1.2.0/version: ${BUNDLE_VERSION}/" "${CSV_FILE}"
Review Comment:
would it make sense to add some nicer placeholder strings in the CSV_FILE ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org