Files
argocd-apps/apps/base/repospawner/httproute-external.yaml
T
unkin-agent 200a241d42
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Deploy repospawner v0.1.0
Add apps/base/repospawner with namespace, service account, job-spawning
RBAC, the server Deployment, oauth2-proxy front door, internal and
external gateways, and the VaultStaticSecrets backing them. Register the
overlay in the platform ApplicationSet and AppProject.
2026-08-30 15:23:39 +10:00

50 lines
1.0 KiB
YAML

---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: repospawner-external-http-redirect
namespace: repospawner
spec:
hostnames:
- repospawner.unkin.net
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: repospawner-external
sectionName: http
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
matches:
- path:
type: PathPrefix
value: /
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: repospawner-external
namespace: repospawner
spec:
hostnames:
- repospawner.unkin.net
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: repospawner-external
sectionName: https
rules:
- backendRefs:
- group: ""
kind: Service
name: repospawner-oauth2
port: 4180
weight: 1
matches:
- path:
type: PathPrefix
value: /