staging: mount frontend server script for /graphql
This commit is contained in:
18
kustomize/overlays/staging/frontend-graphql-proxy-patch.yaml
Normal file
18
kustomize/overlays/staging/frontend-graphql-proxy-patch.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: trade-frontend
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend
|
||||
volumeMounts:
|
||||
- name: frontend-server-script
|
||||
mountPath: /app/services/frontend/server.mjs
|
||||
subPath: frontend-server.mjs
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: frontend-server-script
|
||||
configMap:
|
||||
name: trade-frontend-server-script
|
||||
Reference in New Issue
Block a user