Skip to content

test(e2e): use correct image name in kustomize overlay#841

Merged
mnencia merged 2 commits intomainfrom
dev/840
Apr 11, 2026
Merged

test(e2e): use correct image name in kustomize overlay#841
mnencia merged 2 commits intomainfrom
dev/840

Conversation

@mnencia
Copy link
Copy Markdown
Member

@mnencia mnencia commented Apr 10, 2026

The e2e kustomize overlay tried to match
docker.io/library/plugin-barman-cloud but the base kustomization at
kubernetes/kustomization.yaml already transforms the bare
plugin-barman-cloud image to the GHCR name. The overlay must match
the base's output (ghcr.io/cloudnative-pg/plugin-barman-cloud-testing)
to override it.

Broken since b7daaac (#89) changed the base kustomization's newName
from docker.io/library/plugin-barman-cloud to the GHCR image without
updating the e2e overlay.

Closes #840

Closes #840

The e2e kustomize overlay matches
docker.io/library/plugin-barman-cloud but the base kustomization at
kubernetes/kustomization.yaml matches the bare plugin-barman-cloud
name from kubernetes/deployment.yaml and replaces it with the GHCR
image. Since the overlay name never matches, the locally-built image
is never deployed and e2e tests always run against the main branch
code from GHCR.

Use the bare image name so the overlay rule overrides the base rule.

Broken since b7daaac (#89) changed the base kustomization's newName
from docker.io/library/plugin-barman-cloud to the GHCR image without
updating the e2e overlay.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia requested a review from a team as a code owner April 10, 2026 16:14
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Apr 10, 2026
@mnencia mnencia force-pushed the dev/840 branch 2 times, most recently from e30615d to bdc76c1 Compare April 10, 2026 16:38
The e2e kustomize overlay tried to match
docker.io/library/plugin-barman-cloud but the base kustomization at
kubernetes/kustomization.yaml already transforms the bare
plugin-barman-cloud image to the GHCR name. The overlay must match
the base's output (ghcr.io/cloudnative-pg/plugin-barman-cloud-testing)
to override it.

Add comments on both sides to prevent future drift.

Broken since b7daaac (#89) changed the base kustomization's newName
from docker.io/library/plugin-barman-cloud to the GHCR image without
updating the e2e overlay.

Closes #840

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia changed the title fix(e2e): use correct image name in kustomize overlay test(e2e): use correct image name in kustomize overlay Apr 10, 2026
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 11, 2026
@mnencia mnencia merged commit 7f92182 into main Apr 11, 2026
8 checks passed
@mnencia mnencia deleted the dev/840 branch April 11, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

e2e tests do not use the plugin image built from the PR branch

3 participants