Skip to content

Upgrade test with helm - #232

Merged
HarshwardhanPatil07 merged 4 commits into
bootc-dev:mainfrom
alicefr:upgrade-test-with-helm
Oct 21, 2026
Merged

HarshwardhanPatil07 merged 4 commits into
bootc-dev:mainfrom
alicefr:upgrade-test-with-helm

Conversation

@alicefr

@alicefr alicefr commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

This PR replaces completely the raw manifests with helm charts installation

@alicefr alicefr changed the title Upgrade test with helm DNM: Upgrade test with helm Oct 15, 2026
@alicefr

alicefr commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator Author

This PR should be merged once we decided how to treat the upgrade for the CRDs, after #234

@alicefr

alicefr commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

This PR requires a release with the 2 helm charts in a way we can test the final way to install the operator via helm chart (see #236)

@alicefr
alicefr force-pushed the upgrade-test-with-helm branch from d485a04 to 77ec2ef Compare October 16, 2026 09:28
@alicefr alicefr changed the title DNM: Upgrade test with helm Upgrade test with helm Oct 16, 2026
Comment thread test/e2e/bootcnode_test.go Resolved
Comment thread test/e2e/upgrade_test.go Resolved
Comment thread Makefile Resolved
@HarshwardhanPatil07

Copy link
Copy Markdown
Member

overall LGTM, Thank you!

Replace the kustomize-based deploy with helm upgrade --install,
matching the chart values used by the removed helm.yaml workflow.
Use upgrade --install (not plain install) so the target is
idempotent and works on repeated runs during development.

Build the CRD dependency chart before installing so that CRDs
are deployed automatically with the operator chart.

Update the deployment name references from controller-manager to
controller to match the Helm chart naming.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Replace the manifest-based upgrade test with Helm commands.
The test now uses helm install for the released version and
helm upgrade for the current version, matching how deploy-bink
deploys the operator.

On upgrade, install and upgrade CRDs via the bootc-operator-crds
chart (using upgrade --install since the released version does
not ship this chart). Uninstall CRDs via helm uninstall instead
of manual deletion.

Remove dead manifest-manipulation code: downloadReleaseManifest,
patchManifestImage, setContainerImage, setContainerArgs,
kubectlApply, applyCurrentManifests, kubectlApplyCRDs.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Move RELEASED_OPERATOR_TAG and RELEASED_OPERATOR_IMG defaults into
the Makefile so CI does not need to pass them explicitly. Both
remain overridable on the command line.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
The main CI workflow now deploys via Helm, making the separate
Helm workflow redundant.

Signed-off-by: Alice Frosi <afrosi@redhat.com>

@HarshwardhanPatil07 HarshwardhanPatil07 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@HarshwardhanPatil07
HarshwardhanPatil07 enabled auto-merge (rebase) October 19, 2026 14:37
@alicefr

alicefr commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@ptalgulk01 PTAL

@ptalgulk01

Copy link
Copy Markdown
Collaborator

looks good, thankyou!

@HarshwardhanPatil07
HarshwardhanPatil07 merged commit 18f18aa into bootc-dev:main Oct 21, 2026
11 checks passed
@alicefr

alicefr commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator Author

@Mergifyio backport release-0.2

@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

backport release-0.2

✅ Backports have been created

Details

alicefr added a commit to alicefr/bootc-operator that referenced this pull request Oct 22, 2026
The commit wrongly readded the helm.yaml chart. The helm github action
was removed by bootc-dev#232 and added by mistake by bootc-dev#244.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr alicefr mentioned this pull request Oct 22, 2026
HarshwardhanPatil07 pushed a commit that referenced this pull request Oct 22, 2026
The commit wrongly readded the helm.yaml chart. The helm github action
was removed by #232 and added by mistake by #244.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr
alicefr deleted the upgrade-test-with-helm branch October 28, 2026 11:50
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.

3 participants