Skip to content

Commit

Permalink
add NB endpoint to cluster policy
Browse files Browse the repository at this point in the history
  • Loading branch information
eljohnson92 committed May 16, 2024
1 parent 9c0d404 commit c441740
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/topics/firewalling.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
- port: "9345"
- port: "6443"
```
additional rules can be added by creating a new policy
Alternatively, additional rules can be added by creating a new policy
```yaml
apiVersion: "cilium.io/v2"
kind: CiliumClusterwideNetworkPolicy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data:
- cluster
- fromCIDR:
- 10.0.0.0/8
- 192.168.128.0/17
---
apiVersion: "cilium.io/v2"
kind: CiliumClusterwideNetworkPolicy
Expand All @@ -25,6 +26,10 @@ data:
description: "allow etcd & api server traffic"
nodeSelector: {}
ingress:
- fromEntities:
- cluster
- fromCIDR:
- 10.0.0.0/8
- fromEntities:
- world
toPorts:
Expand Down
5 changes: 5 additions & 0 deletions templates/flavors/k3s/ciliumNetworkPolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data:
- cluster
- fromCIDR:
- 10.0.0.0/8
- 192.168.128.0/17
---
apiVersion: "cilium.io/v2"
kind: CiliumClusterwideNetworkPolicy
Expand All @@ -25,6 +26,10 @@ data:
description: "allow etcd & api server traffic"
nodeSelector: {}
ingress:
- fromEntities:
- cluster
- fromCIDR:
- 10.0.0.0/8
- fromEntities:
- world
toPorts:
Expand Down
1 change: 1 addition & 0 deletions templates/flavors/rke2/ciliumNetworkPolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data:
- cluster
- fromCIDR:
- 10.0.0.0/8
- 192.168.128.0/17
---
apiVersion: "cilium.io/v2"
kind: CiliumClusterwideNetworkPolicy
Expand Down

0 comments on commit c441740

Please sign in to comment.