Skip to content

Commit 914c41c

Browse files
authored
Added new template keys from HCO (#4374)
##### Short description: HCO hard coded custom template is missing the newly populated `importsToKeep` and `retentionPolicy` keys, so fails when comparing with HCO's template ##### More details: ##### What this PR does / why we need it: Part of 4.22 gating fix ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: Having trouble reproducing the failure, the test runs and succeeds both before and after on a new 4.22 cluster. Might only happen on bare metal clusters ##### jira-ticket: https://redhat.atlassian.net/browse/CNV-83849 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Updated test configuration for operator image updates to improve test reliability and resource management. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Alex <albarker@redhat.com>
1 parent 836037f commit 914c41c

File tree

1 file changed

+2
-0
lines changed
  • tests/install_upgrade_operators/hco_enablement_golden_image_updates

1 file changed

+2
-0
lines changed

tests/install_upgrade_operators/hco_enablement_golden_image_updates/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
},
3030
"spec": {
3131
"garbageCollect": OUTDATED,
32+
"importsToKeep": 1,
3233
"managedDataSource": CUSTOM_DATASOURCE_NAME,
34+
"retentionPolicy": "None",
3335
"schedule": WILDCARD_CRON_EXPRESSION,
3436
"template": {
3537
"metadata": {},

0 commit comments

Comments
 (0)