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.

29 lines
394 B
HCL
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
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
disable_file = true
2019-10-11 12:00:05 +00:00
}
}
}
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
}