ansible-hashistack/roles/nomad/templates/csi-volumes.json.j2

19 lines
408 B
Plaintext
Raw Permalink Normal View History

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