chore: update nomad template

This commit is contained in:
vincent 2024-04-28 16:11:37 +02:00
parent 69a2ad4efd
commit 9d0c513787

View File

@ -18,6 +18,12 @@ job "sample" {
to = 0000
}
}
volume "sample-data" {
type = "csi"
source = "sapmle-data"
access_mode = "multi-node-multi-writer"
attachment_mode = "file-system"
}
vault{
policies= ["policy_name"]
@ -37,6 +43,10 @@ job "sample" {
]
}
volume_mount {
volume = "sample-data"
destination = "/app/data"
}
config {
image = "sample"
ports = ["http"]