Skip to content

Upgrade test with helm - #232

Open
alicefr wants to merge 4 commits into
bootc-dev:mainfrom
alicefr:upgrade-test-with-helm
Open

alicefr wants to merge 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)

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>
@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
The main CI workflow now deploys via Helm, making the separate
Helm workflow redundant.

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

This branch has not been deployed

No deployments
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.

1 participant