homelab/nomad-job/volume/registry-ghcr.hcl

18 lines
383 B
HCL
Raw Normal View History

2024-03-17 17:58:24 +00:00
type = "csi"
id = "registry-ghcr"
name = "registry-ghcr"
plugin_id = "nfs"
capability {
access_mode = "multi-node-multi-writer"
attachment_mode = "file-system"
}
context {
server = "nfs.service.consul"
share = "/exports/nomad/registry/ghcr"
mountPermissions = "0"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "timeo=30", "intr", "vers=3", "_netdev" , "nolock" ]
}