2026-03-17 21:42:16 +00:00
|
|
|
variable "tls_secret_name" { type = string }
|
2026-04-14 08:18:59 +00:00
|
|
|
variable "nfs_server" { type = string } # passed by config.tfvars, unused after NFS removal
|
2026-03-17 21:42:16 +00:00
|
|
|
variable "mysql_host" { type = string }
|
truenas deprecation: migrate all non-immich storage to proxmox NFS
- Migrate 7 backup CronJobs to Proxmox host NFS (192.168.1.127)
(etcd, mysql, postgresql, nextcloud, redis, vaultwarden, plotting-book)
- Migrate headscale backup, ebook2audiobook, osm_routing to Proxmox NFS
- Migrate servarr (lidarr, readarr, soulseek) NFS refs to Proxmox
- Remove 79 orphaned TrueNAS NFS module declarations from 49 stacks
- Delete stacks/platform/modules/ (27 dead module copies, 65MB)
- Update nfs-truenas StorageClass to point to Proxmox (192.168.1.127)
- Remove iscsi DNS record from config.tfvars
- Fix woodpecker persistence config and alertmanager PV
Only Immich (8 PVCs, ~1.4TB) remains on TrueNAS.
2026-04-12 14:35:39 +01:00
|
|
|
variable "postgresql_host" { type = string }
|
2026-03-17 21:42:16 +00:00
|
|
|
|
|
|
|
|
data "vault_kv_secret_v2" "secrets" {
|
|
|
|
|
mount = "secret"
|
|
|
|
|
name = "platform"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
locals {
|
|
|
|
|
homepage_credentials = jsondecode(data.vault_kv_secret_v2.secrets.data["homepage_credentials"])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module "technitium" {
|
2026-04-06 13:00:49 +03:00
|
|
|
source = "./modules/technitium"
|
|
|
|
|
tls_secret_name = var.tls_secret_name
|
|
|
|
|
mysql_host = var.mysql_host
|
truenas deprecation: migrate all non-immich storage to proxmox NFS
- Migrate 7 backup CronJobs to Proxmox host NFS (192.168.1.127)
(etcd, mysql, postgresql, nextcloud, redis, vaultwarden, plotting-book)
- Migrate headscale backup, ebook2audiobook, osm_routing to Proxmox NFS
- Migrate servarr (lidarr, readarr, soulseek) NFS refs to Proxmox
- Remove 79 orphaned TrueNAS NFS module declarations from 49 stacks
- Delete stacks/platform/modules/ (27 dead module copies, 65MB)
- Update nfs-truenas StorageClass to point to Proxmox (192.168.1.127)
- Remove iscsi DNS record from config.tfvars
- Fix woodpecker persistence config and alertmanager PV
Only Immich (8 PVCs, ~1.4TB) remains on TrueNAS.
2026-04-12 14:35:39 +01:00
|
|
|
postgresql_host = var.postgresql_host
|
2026-04-06 13:00:49 +03:00
|
|
|
homepage_token = local.homepage_credentials["technitium"]["token"]
|
|
|
|
|
technitium_username = data.vault_kv_secret_v2.secrets.data["technitium_username"]
|
|
|
|
|
technitium_password = data.vault_kv_secret_v2.secrets.data["technitium_password"]
|
|
|
|
|
tier = local.tiers.core
|
2026-03-17 21:42:16 +00:00
|
|
|
}
|