move privatebin to use nfs from iscsi as it is more rleiable [ci skip]

This commit is contained in:
Viktor Barzin 2023-11-10 18:46:00 +00:00
parent e02be21cdf
commit 91cab7871c
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 5 additions and 7 deletions

View file

@ -65,12 +65,9 @@ resource "kubernetes_deployment" "privatebin" {
volume {
name = "data"
iscsi {
target_portal = "iscsi.viktorbarzin.lan:3260"
fs_type = "ext4"
iqn = "iqn.2020-12.lan.viktorbarzin:storage:privatebin"
lun = 0
read_only = false
nfs {
path = "/mnt/main/privatebin"
server = "10.0.10.15"
}
}
}