feat(piedmont): deploy PHS site + HTTPRoute for piedmonthomesvc.com
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).
This commit is contained in:
parent
09ad7485af
commit
d8f46972fb
6 changed files with 94 additions and 0 deletions
20
apps/base/piedmont/httproute.yaml
Normal file
20
apps/base/piedmont/httproute.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
Loading…
Reference in a new issue