garage-cluster/direct-hosted-sites.yaml
James Andariese 4f10f9047d add a basic index
point ingress for certain directly hosted sites ... to the sites.
other things might be DNS like would be normal for S3 but it
still would need to be in the wildcard tls so it's easier to just
do this centrally.  I am one person, after all :D
2025-04-11 00:36:03 -05:00

30 lines
556 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: direct-hosted-sites
namespace: garage
spec:
ingressClassName: haproxy
rules:
- host: 'strudelline.net'
http:
paths:
- path: /
pathType: Exact
backend:
service:
name: garage
port:
name: s3-web
- host: 'strudelline.net'
http:
paths:
- path: /index.html
pathType: Exact
backend:
service:
name: garage
port:
name: s3-web