job "csi-nfs-node" { datacenters = ["dc1"] type = "service" namespace = "default" # Only int for now — expand to all workers once verified constraint { attribute = "${node.unique.name}" value = "int" } group "node" { count = 1 task "plugin" { driver = "docker" config { image = "democraticcsi/democratic-csi:latest" command = "/bin/democratic-csi" network_mode = "host" args = [ "--csi-version=1.5.0", "--csi-name=org.democratic-csi.nfs", "--driver-config-file=${NOMAD_TASK_DIR}/driver-config-file.yaml", "--log-level=info", "--csi-mode=node", "--server-socket=${CSI_ENDPOINT}", ] privileged = true } csi_plugin { id = "org.democratic-csi.nfs" type = "node" mount_dir = "/csi" } template { data = <