diff --git a/nomad/regions/homelab-1/hydra.tf b/nomad/regions/homelab-1/hydra.tf index 6ad6dc3..c8bdc92 100644 --- a/nomad/regions/homelab-1/hydra.tf +++ b/nomad/regions/homelab-1/hydra.tf @@ -1,95 +1,95 @@ -resource "nomad_volume" "hydra-db" { - type = "csi" - plugin_id = "org.democratic-csi.nfs" - volume_id = "hydra-db" - name = "hydra-db" - external_id = "hydra-db" +# resource "nomad_volume" "hydra-db" { +# type = "csi" +# plugin_id = "org.democratic-csi.nfs" +# volume_id = "hydra-db" +# name = "hydra-db" +# external_id = "hydra-db" - capability { - access_mode = "single-node-writer" - attachment_mode = "file-system" - } +# capability { +# access_mode = "single-node-writer" +# attachment_mode = "file-system" +# } - context = { - server = "blowhole.hosts.in.redalder.org" - share = "/var/nfs/hydra-db" - node_attach_driver = "nfs" - provisioner_driver = "node-manual" - } +# context = { +# server = "blowhole.hosts.in.redalder.org" +# share = "/var/nfs/hydra-db" +# node_attach_driver = "nfs" +# provisioner_driver = "node-manual" +# } - mount_options { - fs_type = "nfs" - mount_flags = [ "nfsvers=3", "hard", "async" ] - } -} +# mount_options { +# fs_type = "nfs" +# mount_flags = [ "nfsvers=3", "hard", "async" ] +# } +# } -resource "nomad_volume" "hydra-data" { - type = "csi" - plugin_id = "org.democratic-csi.nfs" - volume_id = "hydra-data" - name = "hydra-data" - external_id = "hydra-data" +# resource "nomad_volume" "hydra-data" { +# type = "csi" +# plugin_id = "org.democratic-csi.nfs" +# volume_id = "hydra-data" +# name = "hydra-data" +# external_id = "hydra-data" - capability { - access_mode = "single-node-writer" - attachment_mode = "file-system" - } +# capability { +# access_mode = "single-node-writer" +# attachment_mode = "file-system" +# } - context = { - server = "blowhole.hosts.in.redalder.org" - share = "/var/nfs/hydra-data" - node_attach_driver = "nfs" - provisioner_driver = "node-manual" - } +# context = { +# server = "blowhole.hosts.in.redalder.org" +# share = "/var/nfs/hydra-data" +# node_attach_driver = "nfs" +# provisioner_driver = "node-manual" +# } - mount_options { - fs_type = "nfs" - mount_flags = [ "nfsvers=3", "hard", "async" ] - } -} +# mount_options { +# fs_type = "nfs" +# mount_flags = [ "nfsvers=3", "hard", "async" ] +# } +# } -resource "nomad_volume" "hydra-nix" { - type = "csi" - plugin_id = "org.democratic-csi.nfs" - volume_id = "hydra-nix" - name = "hydra-nix" - external_id = "hydra-nix" +# resource "nomad_volume" "hydra-nix" { +# type = "csi" +# plugin_id = "org.democratic-csi.nfs" +# volume_id = "hydra-nix" +# name = "hydra-nix" +# external_id = "hydra-nix" - capability { - access_mode = "single-node-writer" - attachment_mode = "file-system" - } +# capability { +# access_mode = "single-node-writer" +# attachment_mode = "file-system" +# } - context = { - server = "blowhole.hosts.in.redalder.org" - share = "/var/nfs/hydra-nix" - node_attach_driver = "nfs" - provisioner_driver = "node-manual" - } +# context = { +# server = "blowhole.hosts.in.redalder.org" +# share = "/var/nfs/hydra-nix" +# node_attach_driver = "nfs" +# provisioner_driver = "node-manual" +# } - mount_options { - fs_type = "nfs" - mount_flags = [ "nfsvers=3", "hard", "async" ] - } -} +# mount_options { +# fs_type = "nfs" +# mount_flags = [ "nfsvers=3", "hard", "async" ] +# } +# } -resource "vault_policy" "hydra-policy" { - name = "hydra-policy" - policy = <