mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 18:18:26 +00:00
fix(redbot): allow PyPi & GitHub
This commit is contained in:
@@ -22,6 +22,8 @@ spec:
|
||||
pod:
|
||||
labels:
|
||||
egress.home.arpa/discord: "allow"
|
||||
egress.home.arpa/github: "allow"
|
||||
egress.home.arpa/pypi: "allow"
|
||||
containers:
|
||||
main:
|
||||
image: &img
|
||||
|
||||
@@ -237,6 +237,25 @@ 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-pypi
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
egress.home.arpa/pypi: allow
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchPattern: "pypi.org"
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "443"
|
||||
protocol: "TCP"
|
||||
- port: "443"
|
||||
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-mullvad
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user