aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorAaron Madsen <amadsen@codifiant.com>2025-01-31 18:15:54 -0700
committerChris Lu <chrislusf@users.noreply.github.com>2025-05-04 05:23:16 -0700
commitd22a187d747f443c6671d8f9ab076c4985dd82a2 (patch)
tree0a3427918b973150da80b6da1884dd573bca7f29 /deploy
parentd83de3149ad80ccfe70376b949baa00541bb9838 (diff)
downloadseaweedfs-csi-driver-d22a187d747f443c6671d8f9ab076c4985dd82a2.tar.xz
seaweedfs-csi-driver-d22a187d747f443c6671d8f9ab076c4985dd82a2.zip
Make sure the volume ID is a valid bucket name
Diffstat (limited to 'deploy')
-rw-r--r--deploy/nomad/example-seaweedfs-volume.hcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/nomad/example-seaweedfs-volume.hcl b/deploy/nomad/example-seaweedfs-volume.hcl
index 3a5fb66..145dd8b 100644
--- a/deploy/nomad/example-seaweedfs-volume.hcl
+++ b/deploy/nomad/example-seaweedfs-volume.hcl
@@ -1,4 +1,10 @@
+# id - Nomad internal ID. It is not sent to the CSI plugin but is used by Nomad for `per_alloc`
+# volume configurations, etc.
id = "example-seaweedfs-volume"
+# name - the name sent to the CSI plugin as an idempotency key and suggested volume ID. The CSI
+# spec requires the calling Container Orchestrator to respect the actual volumeId returned by the
+# CSI plugin. Nomad does this, storing it as the volume's ExternalID and using it in subsequent
+# calls to the controller and node.
name = "example-seaweedfs-volume"
type = "csi"
plugin_id = "seaweedfs"