Files
homelab/cluster/platform/harbor/httproute-alt.yaml
2026-06-04 21:21:32 -05:00

34 lines
1.0 KiB
YAML

# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# HTTPRoute — Harbor (Alternate) via Cilium Gateway
# Alternate DNS: harbor.local.mk-labs.cloud (functional name)
# ------------------------------------------------------------------------------
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: harbor-alt
namespace: harbor
annotations:
external-dns.alpha.kubernetes.io/hostname: harbor.local.mk-labs.cloud
external-dns.alpha.kubernetes.io/target: "10.1.71.90"
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: fastpass-gateway
namespace: gateway
sectionName: https
hostnames:
- harbor.local.mk-labs.cloud
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ""
kind: Service
name: the-seas
port: 8080
weight: 1