homelab-gitops/apps/bytestash/route.yaml
gwg313 7a569878b8
add bytestash
Signed-off-by: gwg313 <gwg313@pm.me>
2026-05-19 21:34:14 -04:00

41 lines
883 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: bytestash
namespace: bytestash
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: shared-edge-gateway
namespace: cilium-ingress
hostnames:
- snippets.gwg313.xyz
- snippets.local.gwg313.xyz
- snippets.zerotier.gwg313.xyz
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ""
kind: Service
name: bytestash
port: 80
weight: 1
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: ReferenceGrant
metadata:
name: allow-gateway-to-bytestash
namespace: bytestash
spec:
from:
- group: gateway.networking.k8s.io
kind: Gateway
namespace: cilium-ingress
to:
- group: ""
kind: Service
name: bytestash