add harbor

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2026-05-19 13:08:09 -04:00
parent d8e2543152
commit 8ca8f0b8ea
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
45 changed files with 322 additions and 805 deletions

View file

@ -0,0 +1,38 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: harbor
namespace: harbor
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: shared-edge-gateway
namespace: cilium-ingress
hostnames:
- registry.gwg313.xyz
- registry.local.gwg313.xyz
- registry.zerotier.gwg313.xyz
rules:
- matches:
- path: { type: PathPrefix, value: "/api/" }
- path: { type: PathPrefix, value: "/service/" }
- path: { type: PathPrefix, value: "/chartrepo" }
- path: { type: PathPrefix, value: "/c/" }
- path: { type: PathPrefix, value: "/v1/" }
- path: { type: PathPrefix, value: "/v2/" }
backendRefs:
- group: ""
kind: Service
name: harbor-core
port: 80
weight: 1
- matches:
- path: { type: PathPrefix, value: "/" }
backendRefs:
- group: ""
kind: Service
name: harbor-portal
port: 80
weight: 1