mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 18:18:26 +00:00
fix(cloudflared): netpols
This commit is contained in:
@@ -26,6 +26,14 @@ spec:
|
||||
protocol: TCP
|
||||
- port: "443"
|
||||
protocol: UDP
|
||||
# allow cloudflared to egress to pods that require ingress
|
||||
- toEndpoints:
|
||||
- matchExpressions:
|
||||
- key: io.kubernetes.pod.namespace
|
||||
operator: Exists
|
||||
- key: ingress.home.arpa/cloudflare
|
||||
operator: In
|
||||
values: [allow]
|
||||
# Headscale
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
@@ -57,17 +65,6 @@ spec:
|
||||
- ports:
|
||||
- port: "7844"
|
||||
protocol: UDP
|
||||
# L7 DNS inspection & proxy
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: kube-system
|
||||
k8s-app: kube-dns
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "53"
|
||||
rules:
|
||||
dns:
|
||||
- matchPattern: "*"
|
||||
# allow Flux notification-controller ingress
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
@@ -90,8 +87,6 @@ spec:
|
||||
- ports:
|
||||
- port: "59292"
|
||||
protocol: TCP
|
||||
- port: "80"
|
||||
protocol: TCP
|
||||
rules:
|
||||
http:
|
||||
- {}
|
||||
|
||||
Reference in New Issue
Block a user