diff --git a/nomad/regions/homelab-1/baikal.tf b/nomad/regions/homelab-1/baikal.tf deleted file mode 100644 index e2db30f..0000000 --- a/nomad/regions/homelab-1/baikal.tf +++ /dev/null @@ -1,57 +0,0 @@ -resource "nomad_volume" "baikal-specific" { - type = "csi" - plugin_id = "nfs" - volume_id = "baikal-specific" - name = "baikal-specific" - external_id = "baikal-specific" - - capability { - access_mode = "single-node-writer" - attachment_mode = "file-system" - } - - context = { - server = "blowhole.hosts.in.redalder.org" - share = "/var/nfs/baikal/specific" - } - - mount_options { - fs_type = "nfs" - mount_flags = [ "nolock", "hard" ] - } -} - -resource "nomad_volume" "baikal-config" { - type = "csi" - plugin_id = "nfs" - volume_id = "baikal-config" - name = "baikal-config" - external_id = "baikal-config" - - capability { - access_mode = "single-node-writer" - attachment_mode = "file-system" - } - - context = { - server = "blowhole.hosts.in.redalder.org" - share = "/var/nfs/baikal/config" - } - - mount_options { - fs_type = "nfs" - mount_flags = [ "nolock", "hard" ] - } -} - -resource "nomad_job" "baikal" { - jobspec = file("${path.module}/job/baikal.hcl") - - hcl2 { - enabled = true - vars = { - flake_ref = "${var.flake_host}?rev=${var.flake_rev}&ref=${var.flake_ref}" - flake_sha = var.flake_sha - } - } -} diff --git a/nomad/regions/homelab-1/email.tf b/nomad/regions/homelab-1/email.tf index b331e75..38befdb 100644 --- a/nomad/regions/homelab-1/email.tf +++ b/nomad/regions/homelab-1/email.tf @@ -1,7 +1,7 @@ resource "vault_policy" "dovecot-policy" { name = "dovecot-policy" policy = <