open-nomad/demo/csi/hostpath/hostpath.hcl
2021-04-09 12:15:49 -04:00

26 lines
409 B
HCL

id = "VOLUME_NAME"
name = "VOLUME_NAME"
type = "csi"
plugin_id = "hostpath-plugin0"
capacity_min = "1MB"
capacity_max = "1GB"
capability {
access_mode = "single-node-reader-only"
attachment_mode = "file-system"
}
capability {
access_mode = "single-node-writer"
attachment_mode = "file-system"
}
secrets {
somesecret = "xyzzy"
}
mount_options {
mount_flags = ["ro"]
}