feature:Mount host share path to support read service_function config.
This commit is contained in:
@@ -66,6 +66,7 @@ services:
|
||||
volumes:
|
||||
- /opt/tsg/tsg-diagnose/etc/.certs_import:/opt/dign_client/etc/certs_import
|
||||
- /opt/tsg/tsg-diagnose/log:/opt/dign_client/log
|
||||
- /opt/tsg/tsg-diagnose/share:/opt/dign_client/share
|
||||
- /opt/tsg/tsg-diagnose/etc/client.conf:/opt/dign_client/etc/client.conf
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
command:
|
||||
|
||||
@@ -60,6 +60,9 @@ spec:
|
||||
- name: config-path
|
||||
mountPath: /opt/dign_client/etc/client.conf
|
||||
subPath: "client.conf"
|
||||
- name: share-path
|
||||
mountPath: /opt/dign_client/share
|
||||
|
||||
|
||||
volumes:
|
||||
- name: localtime-node
|
||||
@@ -74,8 +77,8 @@ spec:
|
||||
- name: config-path
|
||||
hostPath:
|
||||
path: /opt/tsg/tsg-diagnose/etc
|
||||
- name: service-function-config-path
|
||||
- name: share-path
|
||||
hostPath:
|
||||
path: /opt/tsg/tsg-diagnose/etc
|
||||
path: /opt/tsg/tsg-diagnose/share
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user