diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index b25bf5f9ab1c6bbfb38e30791109d85dc04516b7..e57729c8995025f6c32836a719ecaa7b285cd0e2 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -61,4 +61,12 @@ spec: scheme: HTTP path: /actuator/health/readiness port: 1024 - periodSeconds: 10 \ No newline at end of file + periodSeconds: 10 + volumeMounts: + - name: ${APP_NAME}-volume + mountPath: / + volumes: + name: ${APP_NAME}-volume + hostPath: + path: /data/share/pod/data/${APP_NAME} + type: DirectoryOrCreate \ No newline at end of file