From d22a187d747f443c6671d8f9ab076c4985dd82a2 Mon Sep 17 00:00:00 2001 From: Aaron Madsen Date: Fri, 31 Jan 2025 18:15:54 -0700 Subject: Make sure the volume ID is a valid bucket name --- deploy/nomad/example-seaweedfs-volume.hcl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'deploy') 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" -- cgit v1.2.3