Commit 67b70fa
authored
fix(vd): allow ingress from virtualization namespace to importer pods (#2356)
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 <pavel.tishkov@flant.com>1 parent ea96363 commit 67b70fa
1 file changed
Lines changed: 14 additions & 1 deletion
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
55 | 68 | | |
56 | | - | |
| 69 | + | |
57 | 70 | | |
58 | 71 | | |
59 | 72 | | |
| |||
0 commit comments