Switch to host volumes. Grafana not working yet.
This commit is contained in:
@@ -15,11 +15,9 @@ job "traefik" {
|
||||
}
|
||||
}
|
||||
|
||||
volume "config-volume" {
|
||||
type = "csi"
|
||||
source = "config-volume"
|
||||
access_mode = "single-node-writer"
|
||||
attachment_mode = "file-system"
|
||||
volume "config" {
|
||||
type = "host"
|
||||
source = "config"
|
||||
}
|
||||
|
||||
task "traefik" {
|
||||
@@ -54,7 +52,7 @@ job "traefik" {
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
volume = "config-volume"
|
||||
volume = "config"
|
||||
destination = "/config"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user