feat(gotosocial): TLS netpols

This commit is contained in:
JJGadgets
2023-05-28 12:25:29 +08:00
parent b7183421d9
commit d4e53b7718

View File

@@ -21,9 +21,16 @@ spec:
- ports:
- port: "8080"
protocol: TCP
rules:
http:
- {}
# Cloudflare Tunnel
- fromEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: cloudflare
app.kubernetes.io/instance: cloudflared
app.kubernetes.io/name: cloudflared
toPorts:
- ports:
- port: "8080"
protocol: TCP
egress:
# same namespace
- toEndpoints: