try networkpolicy
This commit is contained in:
@@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- networkpolicy.yaml
|
||||
- radarr-config-pvc.yaml
|
||||
- sonarr-config-pvc.yaml
|
||||
- sonarr-deploy.yaml
|
||||
|
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