mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-28 10:18:26 +00:00
feat: add Cloudflare R2 netpol
This commit is contained in:
@@ -84,6 +84,23 @@ spec:
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: labelled-allow-egress-ntp
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
egress.home.arpa/world-ntp: allow
|
||||
egress:
|
||||
- toEntities:
|
||||
- "world"
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "123"
|
||||
protocol: "UDP"
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: labelled-allow-egress-dlna
|
||||
spec:
|
||||
@@ -96,4 +113,23 @@ spec:
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "1900"
|
||||
protocol: "UDP"
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: labelled-allow-egress-cloudflare-r2
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
egress.home.arpa/r2: allow
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchPattern: "*.r2.cloudflarestorage.com"
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "443"
|
||||
protocol: "TCP"
|
||||
- port: "443"
|
||||
protocol: "UDP"
|
||||
Reference in New Issue
Block a user