Commit 07c6b5c
committed
OTA-1521: Add a default-deny network policy for CVO namespace
Add a baseline NetworkPolicy to deny all network communication (both
ingress and egress) to all pods in the namespace. Any necessary network
traffic needs to be allowed by an additional NetworkPolicy resource
(they are additive).
At the moment, the default deny all policy should be the only one needed:
- CVO is host-networked so it is [not affected by network policies](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/networking/network-security#network-policy)
- Bare `version` pods spawned by CVO do not require any network communication
See [OTA Network Policies Working Document](https://docs.google.com/document/d/1Dzr3eYGVl6OBxqfUohugJLsbsn7sYrC3fN6yCe8zTRQ/edit?tab=t.0#heading=h.9vehq2liufe) for more information.1 parent db8190f commit 07c6b5c
1 file changed
Lines changed: 15 additions & 0 deletions
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments