From d5cbe7174ecc65eb99a8a17b0c726e2907293244 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Sun, 4 Sep 2022 14:26:19 -0700 Subject: [PATCH] Remove default volume read_only It was always setting to true --- nomad/service.nomad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nomad/service.nomad b/nomad/service.nomad index 43e5820..e522770 100644 --- a/nomad/service.nomad +++ b/nomad/service.nomad @@ -55,7 +55,7 @@ job "[[.name]]" { [[ range $v := . | parseJSON -]] volume "[[ $v.name ]]" { type = "host" - read_only = [[ default true $v.read_only ]] + read_only = [[ $v.read_only ]] source = "[[ $v.name ]]" } [[ end ]] @@ -160,7 +160,7 @@ job "[[.name]]" { volume_mount { volume = "[[ $v.name ]]" destination = "[[ $v.dest ]]" - read_only = [[ default true $v.read_only ]] + read_only = [[ $v.read_only ]] } [[ end ]] [[ end -]]