update networkpolicy
This commit is contained in:
@@ -1,28 +1,16 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-external
|
||||
name: allow-arrs-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
|
||||
matchExpressions:
|
||||
- key: app
|
||||
operator: In
|
||||
values:
|
||||
- radarr
|
||||
- sonarr
|
||||
policyTypes:
|
||||
- Egress
|
||||
egress:
|
||||
|
Reference in New Issue
Block a user