Skip to content

Commit 9238951

Browse files
committed
chore: temporarily stop using "replaces" in Operator metadata
This is necessary to allow customers to upgrade to OpenShift 4.9. Once we release a new version of the Operator, this change should be reverted and a new Operator should be published.
1 parent 4d080c5 commit 9238951

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/operator/package_operator_bundle.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ 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-
if old_version != None:
40-
updated_csv = updated_csv + " replaces: snyk-operator.v" + old_version
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
4142
with open(new_csv_path, "w") as f:
4243
f.write(updated_csv)
4344

0 commit comments

Comments
 (0)