From 63288a225531bcb3ec263d84e0c09a3df0bd8368 Mon Sep 17 00:00:00 2001 From: u1 Date: Wed, 14 Jan 2026 08:49:27 +0000 Subject: [PATCH] staging: mount frontend server script for /graphql --- .../staging/frontend-graphql-proxy-patch.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 kustomize/overlays/staging/frontend-graphql-proxy-patch.yaml diff --git a/kustomize/overlays/staging/frontend-graphql-proxy-patch.yaml b/kustomize/overlays/staging/frontend-graphql-proxy-patch.yaml new file mode 100644 index 0000000..fe28e5e --- /dev/null +++ b/kustomize/overlays/staging/frontend-graphql-proxy-patch.yaml @@ -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