Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the user to set the level of netpol permissiveness #345

Open
zivnevo opened this issue Jan 30, 2024 · 1 comment
Open

Allow the user to set the level of netpol permissiveness #345

zivnevo opened this issue Jan 30, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@zivnevo
Copy link
Member

zivnevo commented Jan 30, 2024

Some options:

  • Only allow connections identified by the algorithm
  • If a service exists, but no incoming connections detected, open the service to the whole namespace
  • If a service exists, but no incoming connections detected, open the service to the whole cluster
  • If a service exists, open the service to the whole cluster
@zivnevo zivnevo added the enhancement New feature or request label Jan 30, 2024
@zivnevo zivnevo added this to the v2.3 milestone Jan 31, 2024
@zivnevo zivnevo modified the milestones: v2.3, v2.4 Aug 21, 2024
@zivnevo
Copy link
Member Author

zivnevo commented Sep 18, 2024

Proposed format:

# The provided deployment catalogue in namespace sock-shop can connect to the provided deployment catalogue-db in the same NS using any protocol
sock-shop/deployment/catalogue -> sock-shop/deployment/catalogue-db

# The provided deployment orders in NS sock-shop can connect to the provided service catalogue in the same NS using TCP:80
sock-shop/deployment/orders    -> sock-shop/service/catalogue       | TCP:80

# # The provided deployment orders in NS sock-shop can connect to external IPs 59.48.20.0/24 using TCP:443
sock-shop/deployment/orders -> 59.48.20.0/24 | TCP:443

# The deployment catalogue-db in NS sock-shop may receive incoming traffic from all external IPs
0.0.0.0/0 -> sock-shop/deployment/catalogue-db

# Known workloads in NS sock-shop, can connect to known workloads in NS sock-shop, named session-db
sock-shop/_/_ -> sock-shop/_/session-db

# All known workloads (in any NS), can connect to known workloads named session-db (in any NS)
_/_/_ -> _/_/session-db

# All workloads in NS ns1, can connect to the deployment shipping in NS sock-shop
ns1/*/* -> sock-shop/deployment/shipping

# All workloads in the cluster, can connect to the deployment catalogue-db in NS sock-shop
*/*/* -> sock-shop/deployment/orders


# ns1/*/session-db # not supported
# ns1/deployment/* # not supported
# */deployment/*   # not supported
# */deployment/session-db # not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant