feat(piedmont): route /api/contact to piedmont-contact
Add the contact Deployment and Service, and match PathPrefix /api/contact before the site catch-all so the quote form does not hit nginx.
This commit is contained in:
parent
d8f46972fb
commit
1242f3041e
4 changed files with 73 additions and 0 deletions
12
apps/base/piedmont/service-api.yaml
Normal file
12
apps/base/piedmont/service-api.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: piedmont-contact
|
||||
namespace: piedmont
|
||||
spec:
|
||||
selector:
|
||||
app: piedmont-contact
|
||||
ports:
|
||||
- name: http
|
||||
port: 8090
|
||||
targetPort: 8090
|
||||
Loading…
Reference in a new issue