chore: update nomad template
This commit is contained in:
parent
69a2ad4efd
commit
9d0c513787
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user