We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 548bf6c commit 6534ea0Copy full SHA for 6534ea0
scripts/install_demo_app.sh
@@ -1,6 +1,5 @@
1
#!/usr/bin/env bash
2
setup_environment () {
3
- set -x
4
5
IFACE=`route -n | awk '$1 == "192.168.5.0" {print $8}'`
6
CIDR=`ip addr show ${IFACE} | awk '$2 ~ "192.168.5" {print $2}'`
@@ -53,7 +52,7 @@ EOF
53
52
read_secrets_with_token () {
54
SUCCESS=0
55
APPROLETEST=${1}
56
- for i in {1..10000}
+ for i in {1..100}
57
do
58
curl -s \
59
--header "X-Vault-Token: ${APPROLE_TOKEN}" \
@@ -85,4 +84,4 @@ read_secrets_with_token () {
85
84
86
setup_environment
87
get_new_app_role_token
88
-read_secrets_with_token 10000
+read_secrets_with_token 100
0 commit comments