mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-05 21:41:03 +00:00
38 lines
746 B
YAML
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
|