-
Notifications
You must be signed in to change notification settings - Fork 2.3k
feat: support user namespace network policy #5622
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
base: main
Are you sure you want to change the base?
Conversation
TestGru AssignmentSummary
Files
Tip You can |
|
cr demo: apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: demo-2-policy
namespace: ns-p5wqvlw9
spec:
endpointSelector: {}
ingress:
- fromEntities:
- host
- fromEntities:
- remote-node
- fromEndpoints:
- matchExpressions:
- key: "k8s:io.kubernetes.pod.namespace"
operator: "In"
values:
- "ns-55i3en28"
- "ns-p5wqvlw9"
egress:
- toEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: kube-system
k8s-app: kube-dns
toPorts:
- ports:
- port: "53"
protocol: UDP
rules:
dns:
- matchPattern: "*"
- toEntities:
- host
- toEntities:
- remote-node
- toEndpoints:
- matchExpressions:
- key: "k8s:io.kubernetes.pod.namespace"
operator: "In"
values:
- "ns-55i3en28"
- "ns-p5wqvlw9"
- toCIDRSet:
- cidr: 0.0.0.0/0 |
Whoa! Easy there, Partner!This PR is too big. Please break it up into smaller PRs. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5622 +/- ##
=======================================
Coverage 61.97% 61.97%
=======================================
Files 8 8
Lines 647 647
=======================================
Hits 401 401
Misses 200 200
Partials 46 46 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
No description provided.