Añadir headlamp-governance/networkpolicy.yaml

This commit is contained in:
2026-06-22 04:44:45 +00:00
parent dc9bc345f6
commit 120cc832a2
+18
View File
@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-traefik-headlamp
spec:
podSelector:
matchLabels:
k8s-app: headlamp # Label oficial que usa el deployment de Headlamp
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector: {}
ports:
- protocol: TCP
port: 80 # Puerto estándar interno
- protocol: TCP
port: 3128 # Puerto alternativo que suele usar headlamp