From 4f10f9047df92d68b072c191c79dfb4bbd0a1335 Mon Sep 17 00:00:00 2001 From: James Andariese Date: Fri, 11 Apr 2025 00:36:03 -0500 Subject: [PATCH] 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 --- direct-hosted-sites.yaml | 29 +++++++++++++++++++++++++++++ index.html | 8 ++++++++ 2 files changed, 37 insertions(+) create mode 100644 direct-hosted-sites.yaml create mode 100644 index.html diff --git a/direct-hosted-sites.yaml b/direct-hosted-sites.yaml new file mode 100644 index 0000000..2b666b8 --- /dev/null +++ b/direct-hosted-sites.yaml @@ -0,0 +1,29 @@ +--- +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 diff --git a/index.html b/index.html new file mode 100644 index 0000000..8c6299b --- /dev/null +++ b/index.html @@ -0,0 +1,8 @@ + + + CASCADE + + + CASCADE + +