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