fc58f4972c
This PR fixes `job validate` to respect '-vault-token', '$VAULT_TOKEN', '-vault-namespace' if set.
15 lines
220 B
HCL
15 lines
220 B
HCL
job "vault" {
|
|
datacenters = ["dc1"]
|
|
group "group" {
|
|
task "task" {
|
|
driver = "docker"
|
|
config {
|
|
image = "alpine:latest"
|
|
}
|
|
vault {
|
|
policies = ["my-policy"]
|
|
}
|
|
}
|
|
}
|
|
}
|