From a640c3faa600c943bd104f6d27b6fafb339fdbad Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 23 Mar 2026 10:36:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py-deploy/template/auth/deployment.yaml | 18 +++++++++--------- py-deploy/template/gateway/deployment.yaml | 22 +++++++++++----------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/py-deploy/template/auth/deployment.yaml b/py-deploy/template/auth/deployment.yaml index 8b85460..80d9d38 100644 --- a/py-deploy/template/auth/deployment.yaml +++ b/py-deploy/template/auth/deployment.yaml @@ -30,7 +30,7 @@ spec: exec: command: - /bin/sh - - /saas/tmy3-config/pre-Stop.sh + - /config/pre-Stop.sh resources: limits: cpu: {{ limits_cpu }} @@ -52,14 +52,14 @@ spec: volumeMounts: - mountPath: /etc/localtime name: localtime - - mountPath: /saas/tmy3-config/logback-spring.xml - name: tmly + - mountPath: /config/logback-spring.xml + name: backend subPath: logback-spring.xml - - mountPath: /saas/tmy3-config/pre-Stop.sh - name: tmly + - mountPath: /config/pre-Stop.sh + name: backend subPath: pre-Stop.sh - - mountPath: /saas/run-env.sh - name: tmly + - mountPath: /config/run-env.sh + name: backend subPath: run-env.sh imagePullSecrets: - name: {{ imageSecret }} @@ -70,5 +70,5 @@ spec: name: localtime - configMap: defaultMode: 420 - name: tmly - name: tmly + name: backend + name: backend diff --git a/py-deploy/template/gateway/deployment.yaml b/py-deploy/template/gateway/deployment.yaml index 4baaf38..80ee312 100644 --- a/py-deploy/template/gateway/deployment.yaml +++ b/py-deploy/template/gateway/deployment.yaml @@ -31,7 +31,7 @@ spec: exec: command: - /bin/sh - - /saas/tmy3-config/pre-Stop.sh + - /config/pre-Stop.sh resources: limits: cpu: {{ limits_cpu }} @@ -53,14 +53,14 @@ spec: volumeMounts: - mountPath: /etc/localtime name: localtime - - mountPath: /saas/tmy3-config/logback-spring.xml - name: tmly + - mountPath: /config/logback-spring.xml + name: backend subPath: logback-spring.xml - - mountPath: /saas/tmy3-config/pre-Stop.sh - name: tmly + - mountPath: /config/pre-Stop.sh + name: backend subPath: pre-Stop.sh - - mountPath: /saas/run-env.sh - name: tmly + - mountPath: /config/run-env.sh + name: backend subPath: run-env.sh imagePullSecrets: - name: {{ imageSecret }} @@ -71,8 +71,8 @@ spec: name: localtime - configMap: defaultMode: 420 - name: tmly - name: tmly + name: backend + name: backend --- apiVersion: v1 @@ -111,7 +111,7 @@ spec: name: {{ deployment_name }} port: number: 8080 - path: /tmy3/tmy3api(/|$)(.*) + path: /api/api(/|$)(.*) pathType: ImplementationSpecific @@ -137,5 +137,5 @@ spec: name: {{ deployment_name }} port: number: 8080 - path: /tmy3/tmy3api(/|$)(.*) + path: /api/api(/|$)(.*) pathType: ImplementationSpecific \ No newline at end of file