We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a318ce commit 56a0a57Copy full SHA for 56a0a57
terraform/hashistack/policy_buildbot.tf
@@ -0,0 +1,19 @@
1
+resource "nomad_acl_policy" "buildbot_worker_admin" {
2
+ name = "buildbot-worker-admin"
3
+ description = "Manage buildbot worker secrets in nomad variables"
4
+
5
+ job_acl {
6
+ namespace = "build"
7
+ job_id = "buildbot"
8
+ }
9
10
+ rules_hcl = <<EOT
11
+namespace "build" {
12
+ variables {
13
+ path "nomad/jobs/buildbot-worker" {
14
+ capabilities = ["read"]
15
16
17
+}
18
+EOT
19
0 commit comments