Serves the handyman site from the cluster instead of the Pi's dead nginx/registry/Garage stack. The 78 /photos/ paths the site requests are already baked into assets/portfolio/, so the image serves them via an nginx alias and the Garage bucket is no longer a runtime dependency. Image: forgejo.siriusdevops.com/sirius/phs-site:latest (public package).
20 lines
404 B
YAML
20 lines
404 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: piedmont
|
|
namespace: piedmont
|
|
spec:
|
|
parentRefs:
|
|
- name: public
|
|
namespace: gateway-system
|
|
hostnames:
|
|
- piedmonthomesvc.com
|
|
- www.piedmonthomesvc.com
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
backendRefs:
|
|
- name: piedmont-site
|
|
port: 80
|