Skip to content

e2e: Install the released chart in the upgrade test (manual backport #277) - #288

Merged
HarshwardhanPatil07 merged 2 commits into
bootc-dev:release-0.2from
alicefr:backport-277
Nov 3, 2026
Merged

HarshwardhanPatil07 merged 2 commits into
bootc-dev:release-0.2from
alicefr:backport-277

Conversation

@alicefr

@alicefr alicefr commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Manual backport of #287

The release includes the fix for the helm charts for EKS:
   bootc-dev#261

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Since the move to Helm, TestOperatorUpgrade installed the released
operator image with the chart from the current checkout. That only works
while the current chart stays compatible with the released binary: a
chart that passes a new controller flag or narrows the RBAC makes the
released controller crash or fail to sync, and the test never gets to
the upgrade.

Install the released version from its published chart instead, the way
users upgrading from it have it deployed, then upgrade to the local
chart as before. The chart comes from RELEASED_OPERATOR_CHART, so
downstream builds can point elsewhere, and its version is
RELEASED_OPERATOR_TAG without the leading "v", matching how the release
workflow publishes it.

The released image is now the one the chart deploys, so
RELEASED_OPERATOR_IMG is gone. On bink, push-released-operator-image
reads that image from the chart and still copies it to the local
registry, which keeps the test fast and avoids pulls from a remote
registry timing out; the test overrides the chart image with that copy.

The restore cleanup is now registered right after the uninstall: when
the released operator failed to come up, the cleanup was never
registered and every later test ran without an operator.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
(cherry picked from commit 490d903)
@alicefr alicefr changed the title Backport 277 e2e: Install the released chart in the upgrade test (manual backport #277) Nov 3, 2026
@HarshwardhanPatil07
HarshwardhanPatil07 merged commit 44919ce into bootc-dev:release-0.2 Nov 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants