feat: initial homelab-gitops declarative structure (Terraform & ArgoCD)
This commit is contained in:
31
terraform/synology/shares.tf
Normal file
31
terraform/synology/shares.tf
Normal file
@@ -0,0 +1,31 @@
|
||||
# 1. Kubernetes Longhorn Backup Target Shared Folder
|
||||
resource "synology_filestation_share" "kubernetes" {
|
||||
name = "kubernetes"
|
||||
vol_path = "/volume1"
|
||||
description = "Kubernetes Longhorn Backup Target and Persistent RWX storage"
|
||||
enable_recycle_bin = false
|
||||
}
|
||||
|
||||
# 2. Docker Swarm Persistent Volumes Shared Folder
|
||||
resource "synology_filestation_share" "docker" {
|
||||
name = "docker"
|
||||
vol_path = "/volume1"
|
||||
description = "Docker Swarm shared persistent storage"
|
||||
enable_recycle_bin = false
|
||||
}
|
||||
|
||||
# 3. Homelab Backups Shared Folder
|
||||
resource "synology_filestation_share" "backups" {
|
||||
name = "backups"
|
||||
vol_path = "/volume1"
|
||||
description = "Automated SQLite and system config backup bundles"
|
||||
enable_recycle_bin = true
|
||||
}
|
||||
|
||||
# 4. Media Shared Folder
|
||||
resource "synology_filestation_share" "media" {
|
||||
name = "media"
|
||||
vol_path = "/volume1"
|
||||
description = "Media and storage pool"
|
||||
enable_recycle_bin = false
|
||||
}
|
||||
Reference in New Issue
Block a user