初始提交
This commit is contained in:
@@ -30,7 +30,7 @@ spec:
|
|||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- /saas/tmy3-config/pre-Stop.sh
|
- /config/pre-Stop.sh
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: {{ limits_cpu }}
|
cpu: {{ limits_cpu }}
|
||||||
@@ -52,14 +52,14 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/localtime
|
- mountPath: /etc/localtime
|
||||||
name: localtime
|
name: localtime
|
||||||
- mountPath: /saas/tmy3-config/logback-spring.xml
|
- mountPath: /config/logback-spring.xml
|
||||||
name: tmly
|
name: backend
|
||||||
subPath: logback-spring.xml
|
subPath: logback-spring.xml
|
||||||
- mountPath: /saas/tmy3-config/pre-Stop.sh
|
- mountPath: /config/pre-Stop.sh
|
||||||
name: tmly
|
name: backend
|
||||||
subPath: pre-Stop.sh
|
subPath: pre-Stop.sh
|
||||||
- mountPath: /saas/run-env.sh
|
- mountPath: /config/run-env.sh
|
||||||
name: tmly
|
name: backend
|
||||||
subPath: run-env.sh
|
subPath: run-env.sh
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ imageSecret }}
|
- name: {{ imageSecret }}
|
||||||
@@ -70,5 +70,5 @@ spec:
|
|||||||
name: localtime
|
name: localtime
|
||||||
- configMap:
|
- configMap:
|
||||||
defaultMode: 420
|
defaultMode: 420
|
||||||
name: tmly
|
name: backend
|
||||||
name: tmly
|
name: backend
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ spec:
|
|||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- /saas/tmy3-config/pre-Stop.sh
|
- /config/pre-Stop.sh
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: {{ limits_cpu }}
|
cpu: {{ limits_cpu }}
|
||||||
@@ -53,14 +53,14 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/localtime
|
- mountPath: /etc/localtime
|
||||||
name: localtime
|
name: localtime
|
||||||
- mountPath: /saas/tmy3-config/logback-spring.xml
|
- mountPath: /config/logback-spring.xml
|
||||||
name: tmly
|
name: backend
|
||||||
subPath: logback-spring.xml
|
subPath: logback-spring.xml
|
||||||
- mountPath: /saas/tmy3-config/pre-Stop.sh
|
- mountPath: /config/pre-Stop.sh
|
||||||
name: tmly
|
name: backend
|
||||||
subPath: pre-Stop.sh
|
subPath: pre-Stop.sh
|
||||||
- mountPath: /saas/run-env.sh
|
- mountPath: /config/run-env.sh
|
||||||
name: tmly
|
name: backend
|
||||||
subPath: run-env.sh
|
subPath: run-env.sh
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ imageSecret }}
|
- name: {{ imageSecret }}
|
||||||
@@ -71,8 +71,8 @@ spec:
|
|||||||
name: localtime
|
name: localtime
|
||||||
- configMap:
|
- configMap:
|
||||||
defaultMode: 420
|
defaultMode: 420
|
||||||
name: tmly
|
name: backend
|
||||||
name: tmly
|
name: backend
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -111,7 +111,7 @@ spec:
|
|||||||
name: {{ deployment_name }}
|
name: {{ deployment_name }}
|
||||||
port:
|
port:
|
||||||
number: 8080
|
number: 8080
|
||||||
path: /tmy3/tmy3api(/|$)(.*)
|
path: /api/api(/|$)(.*)
|
||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
|
|
||||||
|
|
||||||
@@ -137,5 +137,5 @@ spec:
|
|||||||
name: {{ deployment_name }}
|
name: {{ deployment_name }}
|
||||||
port:
|
port:
|
||||||
number: 8080
|
number: 8080
|
||||||
path: /tmy3/tmy3api(/|$)(.*)
|
path: /api/api(/|$)(.*)
|
||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
Reference in New Issue
Block a user