aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/seaweedfs-csi-driver/swarm/config.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/seaweedfs-csi-driver/swarm/config.json b/cmd/seaweedfs-csi-driver/swarm/config.json
index 3fc5445..2cefa66 100644
--- a/cmd/seaweedfs-csi-driver/swarm/config.json
+++ b/cmd/seaweedfs-csi-driver/swarm/config.json
@@ -82,10 +82,18 @@
},
"mounts": [
{
+ "description": "used to get the nodename",
"destination": "/node_hostname",
"source": "/etc/hostname",
"type": "bind",
"options":["bind"]
+ },
+ {
+ "description": "used for caching",
+ "destination": "/tmp",
+ "source": "/tmp",
+ "type": "bind",
+ "options":["bind"]
}
],
"network": {