You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6622496
Browse filesBrowse the repository at this point in the historyBrowse files
[vm] Remove egress restrictions on non-isolated vm
## What this PR does
Virtual machines with a public IP have a network policy that explicitly
allows them to communicate with the external internet. When created in a
non-isolated tenant that has no network policies by default, creating
such a policy, instead, **restricts** egress traffic originating from
the VM from going anywhere, __except__ the outside internet. Instead of
allowing VMs to communicate with the outside internet via a network
policy, this patch now adds a label to the VMs by which they will be
targetted by Cozystack's default network policies, if such policies
exist. When no policies are present, the VM's egress traffic will no
longer be policed. Resolves#1601.
### Release note
```release-note
[virtual-machine,vm-instance] Remove the egress network policy from
virtual machines and govern egress traffic by default network policies
instead, resolving the bug in #1601.
```
Signed-off-by: Timofei Larkin <[email protected]>
0 commit comments