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

@ -50,7 +50,8 @@ smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject
disable_vrfy_command = yes
# Postscreen settings to drop zombies/open relays/spam early
postscreen_dnsbl_action = enforce
#postscreen_dnsbl_action = enforce
postscreen_dnsbl_action = ignore
postscreen_dnsbl_sites = zen.spamhaus.org*2
bl.mailspike.net
b.barracudacentral.org*2

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"
}
}
}

Binary file not shown.