Skip to content

Commit

Permalink
Fixed the vault_test_setup.sh to run with PXC
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitj1988 committed Sep 23, 2022
1 parent c15eb5b commit 03c5744
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vault_test_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ if [[ $SETUP_PXC_MOUNT_POINTS -eq 1 ]];then
export VAULT_TOKEN=${ROOT_TOKEN}
for i in `seq 1 3`; do
${WORKDIR}/vault mount -tls-skip-verify -path=pxc_node${i} generic 2>/dev/null
${WORKDIR}/vault secrets enable -tls-skip-verify -path=pxc_node${i} kv
echo "vault_url = ${VAULT_PROTOCOL}://${VAULT_IP}:${VAULT_PORT}" > ${WORKDIR}/keyring_vault_pxc${i}.cnf
echo "secret_mount_point = pxc_node${i}" >> ${WORKDIR}/keyring_vault_pxc${i}.cnf
echo "token = ${ROOT_TOKEN}" >> ${WORKDIR}/keyring_vault_pxc${i}.cnf
Expand Down

0 comments on commit 03c5744

Please sign in to comment.