blob: c1933abe14836b11c108453b438e240d5b5e5b6d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
SPELL=envconsul-bin
SPELLX=${SPELL/-bin/}
VERSION=0.11.0
if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]; then
ARCH=amd64
SOURCE_HASH=sha256:e52fe2036cacec12b24431044af2c71989c21271ef4d880d3f0e713aee203bc0:UPSTREAM_HASH
else
ARCH=386
SOURCE_HASH=sha256:47a2715fd0acd0181bf7b07a408a52747fceee77477e594c6020b7295c45e398:UPSTREAM_HASH
fi
SOURCE=${SPELLX}_${VERSION}_linux_${ARCH}.zip
SOURCE_URL[0]=https://releases.hashicorp.com/${SPELLX}/${VERSION}/${SOURCE}
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
GATHER_DOCS=off
WEB_SITE=https://github.com/hashicorp/envconsul
ENTERED=20210702
LICENSE[0]=MPL
SHORT="start subprocess with envvar populated from Consul and Vault"
cat << EOF
This is a binary version of Envconsul.
Envconsul provides a convenient way to launch a subprocess with environment
variables populated from HashiCorp Consul and Vault. The tool is inspired by
envdir and envchain, but works on many major operating systems with no runtime
requirements. It is also available via a Docker container for scheduled
environments.
Envconsul supports 12-factor applications which get their configuration via the
environment. Environment variables are dynamically populated from Consul or
Vault, but the application is unaware; applications just read environment
variables. This enables extreme flexibility and portability for applications
across systems.
EOF
|