move mailserver to nfs [ci skip]

This commit is contained in:
Viktor Barzin 2023-11-10 22:48:31 +00:00
parent 5fa0c93f00
commit 4cfdc11de3

View file

@ -354,12 +354,16 @@ resource "kubernetes_deployment" "mailserver" {
} }
volume { volume {
name = "data" name = "data"
iscsi { nfs {
target_portal = "iscsi.viktorbarzin.lan:3260" path = "/mnt/main/mailserver"
iqn = "iqn.2020-12.lan.viktorbarzin:storage:mailserver" server = "10.0.10.15"
lun = 0
fs_type = "ext4"
} }
# iscsi {
# target_portal = "iscsi.viktorbarzin.lan:3260"
# iqn = "iqn.2020-12.lan.viktorbarzin:storage:mailserver"
# lun = 0
# fs_type = "ext4"
# }
} }
# volume { # volume {
# name = "user-patches" # name = "user-patches"