plugin-barman-cloud/kubernetes/kustomization.yaml
Marco Nenciarini 45c0046946
fix(e2e): use correct image name in kustomize overlay
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>
2026-04-10 18:48:12 +02:00

21 lines
577 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: cnpg-system
resources:
- certificate-issuer.yaml
- client-certificate.yaml
- deployment.yaml
- server-certificate.yaml
- service.yaml
- ../config/crd
- ../config/rbac
# If you change newName, update the e2e overlay in test/e2e/e2e_suite_test.go too.
images:
- name: plugin-barman-cloud
newName: ghcr.io/cloudnative-pg/plugin-barman-cloud-testing
newTag: main
secretGenerator:
- literals:
- SIDECAR_IMAGE=ghcr.io/cloudnative-pg/plugin-barman-cloud-sidecar-testing:main
name: plugin-barman-cloud