Skip to content

fix(vd): allow ingress from virtualization namespace to importer pods#2356

Open
fl64 wants to merge 1 commit into
mainfrom
fix/np-add-ingress-for-progress-metrics
Open

fix(vd): allow ingress from virtualization namespace to importer pods#2356
fl64 wants to merge 1 commit into
mainfrom
fix/np-add-ingress-for-progress-metrics

Conversation

@fl64
Copy link
Copy Markdown
Member

@fl64 fl64 commented May 16, 2026

Description

Allow ingress from virtualization namespace to importer pods

Why do we need it, and what problem does it solve?

When a namespace has a restrictive NetworkPolicy (e.g. project isolation), the CDI controller from d8-virtualization cannot reach importer pods to fetch progress metrics via HTTP. As a result, DataVolume.Status.Progress stays N/A and VirtualDisk shows no intermediate progress.

Add an Ingress rule to the NetworkPolicy created for importer/DVCR pods, allowing incoming traffic from the namespace labeled module=virtualization. This enables the CDI controller to scrape progress metrics from importer pods even in isolated namespaces.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: vd
type: fix
summary: Allow ingress from virtualization namespace to importer pods

When a namespace has a restrictive NetworkPolicy (e.g. project isolation),
the CDI controller from d8-virtualization cannot reach importer pods to
fetch progress metrics via HTTP. As a result, DataVolume.Status.Progress
stays N/A and VirtualDisk shows no intermediate progress.

Add an Ingress rule to the NetworkPolicy created for importer/DVCR pods,
allowing incoming traffic from the namespace labeled module=virtualization.
This enables the CDI controller to scrape progress metrics from importer
pods even in isolated namespaces.

Signed-off-by: Pavel Tishkov <[email protected]>
@fl64 fl64 self-assigned this May 16, 2026
@fl64 fl64 added this to the v1.9.0 milestone May 16, 2026
@fl64 fl64 marked this pull request as ready for review May 16, 2026 11:35
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