Merge pull request #297 from dcarbone/patch-1

Update democratic-csi-iscsi-node.hcl
This commit is contained in:
Travis Glenn Hansen 2023-05-14 19:10:17 -06:00 committed by GitHub
commit 764260fff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -11,6 +11,10 @@ job "democratic-csi-iscsi-node" {
env { env {
CSI_NODE_ID = "${attr.unique.hostname}" CSI_NODE_ID = "${attr.unique.hostname}"
# if you run into a scenario where your iscsi volumes are zeroed each time they are mounted,
# you can configure the fs detection system used with the following envvar:
#FILESYSTEM_TYPE_DETECTION_STRATEGY = "blkid"
} }
config { config {
@ -38,6 +42,15 @@ job "democratic-csi-iscsi-node" {
source = "/" source = "/"
readonly=false readonly=false
} }
# if you run into a scenario where your iscsi volumes are zeroed each time they are mounted,
# you can try uncommenting the following additional mount block:
#mount {
# type = "bind"
# target = "/run/udev"
# source = "/run/udev"
# readonly = true
#}
} }
template { template {