open-vault/enos/modules/k8s_vault_verify_version/scripts/get-status.sh

9 lines
173 B
Bash
Raw Normal View History

#!/usr/bin/env sh
set -e
status=$(${VAULT_BIN_PATH} status -format=json)
version=$(${VAULT_BIN_PATH} version)
echo "{\"status\": ${status}, \"version\": \"${version}\"}"