[ci skip] add NFS CSI driver + nfs_volume shared module

- Deploy csi-driver-nfs Helm chart as platform module (nfs-csi)
- Create nfs-truenas StorageClass with soft,timeo=30,retrans=3 mount options
- Add shared nfs_volume module for PV/PVC boilerplate (modules/kubernetes/nfs_volume/)
This commit is contained in:
Viktor Barzin 2026-03-01 23:38:58 +00:00
parent 2c115f2dc5
commit 481e4fa46e
No known key found for this signature in database
GPG key ID: 0EB088298288D958
3 changed files with 151 additions and 0 deletions

View file

@ -309,6 +309,15 @@ module "vpa" {
tier = local.tiers.cluster
}
# -----------------------------------------------------------------------------
# NFS CSI CSI driver for NFS with soft mount options (no stale mount hangs)
# -----------------------------------------------------------------------------
module "nfs-csi" {
source = "./modules/nfs-csi"
tier = local.tiers.cluster
nfs_server = var.nfs_server
}
# -----------------------------------------------------------------------------
# CNPG CloudNativePG Operator + local-path-provisioner for database storage
# -----------------------------------------------------------------------------