try networkpolicy
This commit is contained in:
31
deploy/arrs-suite/networkpolicy.yaml
Normal file
31
deploy/arrs-suite/networkpolicy.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-external
|
||||
namespace: jellyfin
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: radarr
|
||||
policyTypes:
|
||||
- Egress
|
||||
egress:
|
||||
- to:
|
||||
- ipBlock:
|
||||
cidr: 0.0.0.0/0
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-external
|
||||
namespace: jellyfin
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: sonarr
|
||||
policyTypes:
|
||||
- Egress
|
||||
egress:
|
||||
- to:
|
||||
- ipBlock:
|
||||
cidr: 0.0.0.0/0
|
Reference in New Issue
Block a user