Files
manifests/values/ingress-haproxy/manifests/policies/CiliumNetworkPolicy-allow-world-to-ingress-haproxy.yaml
T
mrtz 0b73242b65 major(ingress): Migrate hel1 to ha-proxy controller
Most ingresses annotations should be work with small changes.
2026-05-06 11:10:18 +02:00

22 lines
515 B
YAML

{{- if .Values.clusterConfig.cilium.enabled }}
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-world-to-ingress-haproxy
namespace: ingress-haproxy
spec:
endpointSelector:
matchLabels:
app.kubernetes.io/name: kubernetes-ingress
app.kubernetes.io/instance: ingress-haproxy
ingress:
- fromEntities:
- world
- toPorts:
- ports:
- port: "80"
protocol: TCP
- port: "443"
protocol: TCP
{{- end }}