File tree Expand file tree Collapse file tree 6 files changed +15
-15
lines changed
Expand file tree Collapse file tree 6 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 11resource "nomad_acl_policy" "buildbot_worker_admin" {
2- name = " buildbot-worker-admin"
2+ name = " buildbot-worker-admin"
33 description = " Manage buildbot worker secrets in nomad variables"
44
55 job_acl {
66 namespace = " build"
7- job_id = " buildbot"
7+ job_id = " buildbot"
88 }
99
1010 rules_hcl = << EOT
Original file line number Diff line number Diff line change 11resource "nomad_acl_policy" "buildsync_admin" {
2- name = " buildsync-admin"
2+ name = " buildsync-admin"
33 description = " Manage buildsync secrets in nomad variables"
44
55 job_acl {
66 namespace = " build"
7- job_id = " build-rsyncd"
7+ job_id = " build-rsyncd"
88 }
99
1010 rules_hcl = << EOT
1919}
2020
2121resource "nomad_acl_policy" "buildsync_buildbot_admin" {
22- name = " buildsync-buildbot-admin"
22+ name = " buildsync-buildbot-admin"
2323 description = " Manage buildsync secrets in nomad variables for buildbot"
2424
2525 job_acl {
2626 namespace = " build"
27- job_id = " buildbot-worker"
27+ job_id = " buildbot-worker"
2828 }
2929
3030 rules_hcl = << EOT
Original file line number Diff line number Diff line change 11resource "nomad_acl_policy" "certs_admin" {
2- name = " certs-admin"
2+ name = " certs-admin"
33 description = " Manage certificates in nomad variables"
44
55 job_acl {
66 namespace = " infrastructure"
7- job_id = " cert-renew"
7+ job_id = " cert-renew"
88 }
99
1010 rules_hcl = << EOT
Original file line number Diff line number Diff line change 11resource "nomad_acl_policy" "popcorn_admin" {
2- name = " popcorn-admin"
2+ name = " popcorn-admin"
33 description = " Manage popcorn keys in nomad variables"
44
55 job_acl {
66 namespace = " apps"
7- job_id = " popcorn-report"
7+ job_id = " popcorn-report"
88 }
99
1010 rules_hcl = << EOT
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ terraform {
55 version = " 2.41.0"
66 }
77 nomad = {
8- source = " hashicorp/nomad"
8+ source = " hashicorp/nomad"
99 version = " 2.5.2"
1010 }
1111 }
Original file line number Diff line number Diff line change 11resource "nomad_variable" "certs" {
22 for_each = {
3- " nomad/jobs/nginx" = " mirror"
3+ " nomad/jobs/nginx" = " mirror"
44 " nomad/jobs/nginx-control" = " infrastructure"
5- " nomad/jobs/maddy" = " apps-restricted"
5+ " nomad/jobs/maddy" = " apps-restricted"
66 }
77
88 namespace = each. value
9- path = each. key
9+ path = each. key
1010
1111 items = {
1212 certificate = " ${ acme_certificate . voidlinux_org . certificate_pem } ${ acme_certificate . voidlinux_org . issuer_pem } "
13- key = acme_certificate.voidlinux_org.private_key_pem
13+ key = acme_certificate.voidlinux_org.private_key_pem
1414 }
1515}
You can’t perform that action at this time.
0 commit comments