homek8s/infrastructure/networking/internal/gateway.yaml

20 lines
605 B
YAML
Raw Normal View History

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: internal
namespace: internal
labels:
dedicated: network
spec:
gatewayClassName: cilium
listeners:
- name: http-internal
protocol: HTTP
port: 8081
# Any namespace may attach a route: the security boundary for this listener
# is the HOST firewall (only 10.10.0.0/24 + pod CIDR may reach :8081), not
# the namespace. Keeps the pattern reusable for the next internal service
# (Hubble lives in kube-system) without editing this Gateway again.
allowedRoutes:
namespaces:
from: All