Skip to content

Commit

Permalink
move ddagen to separate nomad namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
RafDevX committed Jan 23, 2025
1 parent c771e00 commit 1e72ce9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion github.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ locals {
"pls",
"sso",
],
ddagen = [
"ddagen",
],
default = [
"aaallt2",
"aurora",
"bawang",
"calypso",
"dbuggen",
"ddagen",
"methone",
"skywhale",
"smingo",
Expand Down
9 changes: 8 additions & 1 deletion nomad.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,17 @@ resource "nomad_namespace" "auth" {
description = "Contains jobs that provide auth{entication,orization} for other jobs"
}

# D-Dagen

resource "nomad_namespace" "ddagen" {
name = "ddagen"
description = "Contains jobs for D-Dagen's production and preview environments"
}

# Policies for humans

locals {
namespaces_for_humans = toset(["default", "auth"])
namespaces_for_humans = toset(["default", "auth", "ddagen"])
}

resource "nomad_acl_policy" "manage_jobs" {
Expand Down

0 comments on commit 1e72ce9

Please sign in to comment.