Skip to content
Snippets Groups Projects
Verified Commit 7e31d336 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(jellyfin): Add egress policy to restrict outgoing connections

parent fb7f5052
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,10 @@ resources: ...@@ -10,7 +10,10 @@ resources:
- certificate.yaml - certificate.yaml
- ingress.yaml - ingress.yaml
- slo.yaml - slo.yaml
- ../../../shared/networkpolicies/deny-by-default-ingress.yaml
- ../../../shared/networkpolicies/deny-by-default-egress.yaml
- ../../../shared/networkpolicies/allow-from-ingress.yaml - ../../../shared/networkpolicies/allow-from-ingress.yaml
- ../../../shared/networkpolicies/allow-to-public-web.yaml
- ../../../shared/resourcequotas/default.yaml - ../../../shared/resourcequotas/default.yaml
patchesStrategicMerge: patchesStrategicMerge:
- networkpolicy.yaml - networkpolicy.yaml
\ No newline at end of file
...@@ -6,6 +6,19 @@ metadata: ...@@ -6,6 +6,19 @@ metadata:
labels: labels:
app.kubernetes.io/name: jellyfin app.kubernetes.io/name: jellyfin
app.kubernetes.io/component: jellyfin app.kubernetes.io/component: jellyfin
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: jellyfin
app.kubernetes.io/component: jellyfin
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-to-public-web
labels:
app.kubernetes.io/name: jellyfin
app.kubernetes.io/component: jellyfin
spec: spec:
podSelector: podSelector:
matchLabels: matchLabels:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment