初始提交

This commit is contained in:
2026-03-23 10:36:55 +08:00
parent addf335bc6
commit a640c3faa6
2 changed files with 20 additions and 20 deletions

View File

@@ -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

View File

@@ -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