hashipi

Raspberry Pi Test Cluster for HashiCorp Vault, Nomad and Consul
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | README

commit 236b521a8a32e5bc79f70e6bee1883118c3f2f6f
parent 3ccb5d215ad3b566edeacef58a85cd5a88055e30
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun,  4 Jun 2023 14:58:52 +0200

feat: nomad_podman_driver_version var

Diffstat:
Mhashi-pi.json | 4+++-
Mnomad.sh | 1-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/hashi-pi.json b/hashi-pi.json @@ -16,6 +16,7 @@ "nomad_nfs_server": "", "nomad_nfs_mount": "", "nomad_nfs_target": "", + "nomad_podman_driver_version": "0.4.2", "vault_version": "1.13.2", "vault_tls_ca_cert": "./tls/vault/ca/vault_ca.pem", "vault_tls_ca_key": "./tls/vault/ca/vault_ca.key", @@ -84,7 +85,8 @@ "AUTHORIZED_KEYS={{ user `authorized_keys` }}", "NOMAD_VERSION={{ user `nomad_version` }}", "CONSUL_VERSION={{ user `consul_version` }}", - "VAULT_VERSION={{ user `vault_version` }}" + "VAULT_VERSION={{ user `vault_version` }}", + "NOMAD_PODMAN_DRIVER_VERSION={{ user `nomad_podman_driver_version` }}" ] }, { diff --git a/nomad.sh b/nomad.sh @@ -11,7 +11,6 @@ cd "/home/${USERNAME}" # Install podman driver for Nomad # https://developer.hashicorp.com/nomad/plugins/drivers/community/containerd -NOMAD_PODMAN_DRIVER_VERSION=0.4.2 curl -LO "https://releases.hashicorp.com/nomad-driver-podman/${NOMAD_PODMAN_DRIVER_VERSION}/nomad-driver-podman_${NOMAD_PODMAN_DRIVER_VERSION}_linux_arm64.zip" unzip "nomad-driver-podman_${NOMAD_PODMAN_DRIVER_VERSION}_linux_arm64.zip" mkdir -p /opt/nomad/plugins/