We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4308535 commit 1be309eCopy full SHA for 1be309e
charts/templates/configmap-scripts.yaml
@@ -231,7 +231,7 @@ data:
231
hostname="${1:-localhost}"
232
port="${2:-8001}"
233
protocol="http"
234
- resp_code=$(curl -s -o /dev/null -w '%{http_code}' http://$hostname:$port)
+ resp_code=$(curl -s --retry 5 -o /dev/null -w '%{http_code}' http://$hostname:$port)
235
if [[ $resp_code -eq 403 ]]; then
236
protocol="https"
237
fi
0 commit comments