From 1e72ce9e081dc1c2c7a478b9eb34fe736c4d5801 Mon Sep 17 00:00:00 2001 From: Rafael Oliveira Date: Thu, 23 Jan 2025 18:47:39 +0100 Subject: [PATCH] move ddagen to separate nomad namespace --- github.tf | 4 +++- nomad.tf | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/github.tf b/github.tf index 6d209af..41586b5 100644 --- a/github.tf +++ b/github.tf @@ -12,13 +12,15 @@ locals { "pls", "sso", ], + ddagen = [ + "ddagen", + ], default = [ "aaallt2", "aurora", "bawang", "calypso", "dbuggen", - "ddagen", "methone", "skywhale", "smingo", diff --git a/nomad.tf b/nomad.tf index 191fccd..01ea253 100644 --- a/nomad.tf +++ b/nomad.tf @@ -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" {