Skip to content

Commit 932a379

Browse files
committed
fix: revert Operator metadata to use "replaces"
This reverts commit 9238951. Temporarily reverting until we understand the correct way to upgrade to OpenShift 4.9.
1 parent ae0662b commit 932a379

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/operator/package_operator_bundle.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ def createOperatorFromTemplate(new_version: str, new_operator_tag: str, new_moni
3636
'SNYK_OPERATOR_VERSION_OVERRIDE', new_version).replace(
3737
'SNYK_OPERATOR_IMAGE_TAG_OVERRIDE', new_operator_tag).replace(
3838
'SNYK_MONITOR_IMAGE_TAG_OVERRIDE', new_monitor_tag)
39-
# TODO: Uncomment (or revert commit) once v1.68.2 is published in OperatorHub
40-
# if old_version != None:
41-
# updated_csv = updated_csv + " replaces: snyk-operator.v" + old_version
39+
if old_version != None:
40+
updated_csv = updated_csv + " replaces: snyk-operator.v" + old_version
4241
with open(new_csv_path, "w") as f:
4342
f.write(updated_csv)
4443

0 commit comments

Comments
 (0)