homelab-gitops/apps/yopass/route.yaml
gwg313 933b93da76
add tekton
Signed-off-by: gwg313 <gwg313@pm.me>
2026-05-19 00:23:50 -04:00

38 lines
746 B
YAML

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