From dafbab9495a1078be74aeae585acb2e75ae2270d Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Sun, 23 Apr 2023 23:01:56 +0200 Subject: [PATCH] Disable Gitea Signed-off-by: Magic_RB --- nomad/regions/homelab-1/gitea.tf | 100 +++++++++++++++---------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/nomad/regions/homelab-1/gitea.tf b/nomad/regions/homelab-1/gitea.tf index a381c27..edc3a93 100644 --- a/nomad/regions/homelab-1/gitea.tf +++ b/nomad/regions/homelab-1/gitea.tf @@ -1,61 +1,61 @@ -resource "nomad_volume" "gitea-db" { - type = "csi" - plugin_id = "org.democratic-csi.nfs" - volume_id = "gitea-db" - name = "gitea-db" - external_id = "gitea-db" +# resource "nomad_volume" "gitea-db" { +# type = "csi" +# plugin_id = "org.democratic-csi.nfs" +# volume_id = "gitea-db" +# name = "gitea-db" +# external_id = "gitea-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/gitea-db" - node_attach_driver = "nfs" - provisioner_driver = "node-manual" - } +# context = { +# server = "blowhole.hosts.in.redalder.org" +# share = "/var/nfs/gitea-db" +# node_attach_driver = "nfs" +# provisioner_driver = "node-manual" +# } - mount_options { - fs_type = "nfs" - mount_flags = [ "nfsvers=3", "nolock", "async" ] - } -} +# mount_options { +# fs_type = "nfs" +# mount_flags = [ "nfsvers=3", "nolock", "async" ] +# } +# } -resource "nomad_volume" "gitea-data" { - type = "csi" - plugin_id = "org.democratic-csi.nfs" - volume_id = "gitea-data" - name = "gitea-data" - external_id = "gitea-data" +# resource "nomad_volume" "gitea-data" { +# type = "csi" +# plugin_id = "org.democratic-csi.nfs" +# volume_id = "gitea-data" +# name = "gitea-data" +# external_id = "gitea-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/gitea-data" - node_attach_driver = "nfs" - provisioner_driver = "node-manual" - } +# context = { +# server = "blowhole.hosts.in.redalder.org" +# share = "/var/nfs/gitea-data" +# node_attach_driver = "nfs" +# provisioner_driver = "node-manual" +# } - mount_options { - fs_type = "nfs" - mount_flags = [ "nfsvers=3", "nolock", "async" ] - } -} +# mount_options { +# fs_type = "nfs" +# mount_flags = [ "nfsvers=3", "nolock", "async" ] +# } +# } -resource "vault_policy" "gitea-policy" { - name = "gitea-policy" - policy = <