Skip to content

Upgrade test with helm (backport #232) - #247

Merged
alicefr merged 4 commits into
release-0.2from
mergify/bp/release-0.2/pr-232
Oct 21, 2026
Merged

alicefr merged 4 commits into
release-0.2from
mergify/bp/release-0.2/pr-232

Conversation

@mergify

@mergify mergify Bot commented Oct 21, 2026

Copy link
Copy Markdown

This PR replaces completely the raw manifests with helm charts installation


This is an automatic backport of pull request #232 done by Mergify.

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>
(cherry picked from commit b15abd4)
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>
(cherry picked from commit 4033ce3)
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>
(cherry picked from commit b7ebdb9)
The main CI workflow now deploys via Helm, making the separate
Helm workflow redundant.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
(cherry picked from commit 18f18aa)
@mergify mergify Bot mentioned this pull request Oct 21, 2026
@alicefr
alicefr enabled auto-merge (rebase) October 21, 2026 08:05
@alicefr
alicefr merged commit 84a5581 into release-0.2 Oct 21, 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.

1 participant