ansible-hashistack/roles/nomad/templates/nfs-volume.hcl.j2

19 lines
381 B
Plaintext
Raw Permalink Normal View History

2023-09-25 13:55:32 +02:00
type = "csi"
id = "test"
name = "test"
plugin_id = "nfsofficial"
external_id = "testid"
capability {
access_mode = "multi-node-multi-writer"
attachment_mode = "file-system"
}
context {
server = "192.168.1.2"
share = "/srv/nfs-exports/nomad"
mountPermissions = "0"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "timeo=30", "intr", "vers=3", "_netdev" , "nolock" ]
}