chore(apps): Add network policies to standalone apps

This commit is contained in:
2026-10-28 15:12:22 +05:30
parent 6e1f53ed3f
commit 7467e34b4c
11 changed files with 185 additions and 0 deletions
+1
View File
@@ -4,3 +4,4 @@ resources:
- deployment.yaml
- service.yaml
- httproute.yaml
- networkpolicy.yaml
+21
View File
@@ -0,0 +1,21 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: bentopdf
namespace: bentopdf
spec:
egress: []
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: traefik
ports:
- port: 8080
protocol: TCP
podSelector:
matchLabels:
app.kubernetes.io/name: bentopdf
policyTypes:
- Ingress
- Egress