Add environments/pubmedis/base/networkpolicy.yaml

This commit is contained in:
2026-04-02 16:57:34 +00:00
parent ce24a12f7b
commit aea20e705e

View File

@@ -0,0 +1,21 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: pubmedis-netpol
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: pubmedis
policyTypes:
- Ingress
- Egress
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: ingress-nginx
ports:
- port: 3000
protocol: TCP
egress:
- {}