open-nomad/jobspec/test-fixtures/vault_inheritance.hcl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
290 B
HCL
Raw Normal View History

2016-09-21 18:18:44 +00:00
job "example" {
2019-10-11 12:00:05 +00:00
vault {
policies = ["job"]
}
group "cache" {
2016-09-21 18:18:44 +00:00
vault {
2019-10-11 12:00:05 +00:00
policies = ["group"]
2016-09-21 18:18:44 +00:00
}
2019-10-11 12:00:05 +00:00
task "redis" {}
task "redis2" {
vault {
policies = ["task"]
env = false
}
}
}
2016-09-21 18:18:44 +00:00
2019-10-11 12:00:05 +00:00
group "cache2" {
task "redis" {}
}
2016-09-21 18:18:44 +00:00
}