init: copy from lawndale-infra
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-05-27 16:55:50 +02:00
commit 65ab6a1512
11 changed files with 422 additions and 0 deletions

21
volume.tf Normal file
View File

@@ -0,0 +1,21 @@
# This is actually a self reference as these modules would only be available IF
# This lawndale gitea instance is running and available.
# Here it would be wiser to reference a mirror of this repository
# TODO: setup repository mirror for terraform-modules
# TODO: user mirrored repository
module "gitea_persistance" {
source = "git@git.thomasklein.me:thomasklein/terraform-modules//9p-persistent-volume"
namespace = kubernetes_namespace.this.metadata.0.name
name = "gitea"
volume_storage_capacity = "5Gi"
}
module "postgres_persistance" {
source = "git@git.thomasklein.me:thomasklein/terraform-modules//9p-persistent-volume"
namespace = kubernetes_namespace.this.metadata.0.name
name = "gitea-postgres"
volume_storage_capacity = "5Gi"
}