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

19 lines
410 B
Plaintext
Raw 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"
share = "/srv/nfs-exports/proxmox"
mountPermissions = "0"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "timeo=30", "intr", "vers=3", "_netdev" , "nolock" ]
}