Add the contact Deployment and Service, and match PathPrefix /api/contact before the site catch-all so the quote form does not hit nginx.
12 lines
196 B
YAML
12 lines
196 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: piedmont-contact
|
|
namespace: piedmont
|
|
spec:
|
|
selector:
|
|
app: piedmont-contact
|
|
ports:
|
|
- name: http
|
|
port: 8090
|
|
targetPort: 8090
|