Add a second Gateway listening on port 8081, namespace-scoped to `internal`. Only HTTPRoutes in the `internal` namespace can attach, so grafana and other private services are not reachable from public HTTPRoutes. The listener is on the WG overlay (siriussec 10.10.0.2 + linode 10.10.0.5, both `gateway=true`). No public IP, no LAN route — only peers on 10.10.0.0/24 can reach it. Also wires the new `internal` gateway into Flux via infrastructure/home/kustomization.yaml.
16 lines
297 B
YAML
16 lines
297 B
YAML
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
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: Same
|