From b888f0b75973bcf173ec896c983d195f43f7f121 Mon Sep 17 00:00:00 2001 From: smalltown Date: Tue, 21 Sep 2021 15:49:31 +0800 Subject: [PATCH] upgrade ectd to v3.5.0 --- .gitignore | 1 + templates/data.mount.tpl | 1 + variables_defaults.tf | 6 ++---- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b7d4c92..3fc4270 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.tfvars *.tfstate* +.terraform.lock.hcl .terraform/ .terratest/ vendor/ diff --git a/templates/data.mount.tpl b/templates/data.mount.tpl index 4a99ded..f4c86d2 100644 --- a/templates/data.mount.tpl +++ b/templates/data.mount.tpl @@ -6,6 +6,7 @@ Before=local-fs.target What=${device_name} Where=${data_path} Type=ext4 +DirectoryMode=0700 [Install] WantedBy=local-fs.target \ No newline at end of file diff --git a/variables_defaults.tf b/variables_defaults.tf index 552a0cc..9554905 100644 --- a/variables_defaults.tf +++ b/variables_defaults.tf @@ -2,11 +2,9 @@ locals { containers = merge({ etcd = { repo = "quay.io/coreos/etcd" - tag = "v3.4.14" + tag = "v3.5.0" } }, var.containers) - extra_flags = merge({ - debug = false - }, var.extra_flags) + extra_flags = var.extra_flags }