homelab/nomad-job/volume/registry-ghcr.hcl
2024-03-29 21:14:24 +01:00

18 lines
335 B
HCL

type = "csi"
id = "registry-ghcr"
name = "registry-ghcr"
plugin_id = "nfs"
external_id = "registry-ghcr"
capability {
access_mode = "multi-node-multi-writer"
attachment_mode = "file-system"
}
context {
server = "nfs.service.consul"
share = "/nomad/registry/ghcr"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "vers=4"]
}