feat: add shared lib path (#400)
* feat: add shared lib path to files * feat: add sharedlib path for app-service env --------- Co-authored-by: liuyu <> Co-authored-by: hys <hysyeah@gmail.com>
This commit is contained in:
@@ -114,6 +114,11 @@ spec:
|
||||
# mountPath: /data/Home/Documents
|
||||
- name: upload-appdata
|
||||
mountPath: /appcache/
|
||||
|
||||
{{ if .Values.sharedlib }}
|
||||
- name: shared-lib
|
||||
mountPath: /share
|
||||
{{ end }}
|
||||
ports:
|
||||
- containerPort: 8110
|
||||
env:
|
||||
@@ -239,6 +244,13 @@ spec:
|
||||
hostPath:
|
||||
path: /terminus/userdata/Cache
|
||||
type: Directory
|
||||
|
||||
{{ if .Values.sharedlib }}
|
||||
- name: shared-lib
|
||||
hostPath:
|
||||
path: {{ .Values.sharedlib }}
|
||||
type: Directory
|
||||
{{ end }}
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
Reference in New Issue
Block a user