Commit c54a54b
committed
mnp: Set
MultusNetworkPolicy implementation default to `util.GetHostname`
to know the name of the node it is running on and filter pods accordingly.
In some cases, that information might be not accurate, leading to a
wrong behavior of the controller.
Use downward api to populate the `--hostname` argument of
the multus network policy controller.
Link: https://github.com/kubernetes/component-helpers/blob/v0.34.2/node/util/hostname.go#L28
Signed-off-by: Andrea Panattoni <apanatto@redhat.com>hostname using downward API1 parent fda7a9f commit c54a54b
File tree
1 file changed
+6
-0
lines changed- bindata/network/multus-networkpolicy
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
0 commit comments