File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
testing/kuttl/e2e/exporter Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ commands:
1515 {
1616 METRICS=$(kubectl exec --namespace "${NAMESPACE}" \
1717 "${PRIMARY}" -c exporter \
18- -- curl http://localhost:9187/metrics)
18+ -- curl --show-error --silent ' http://localhost:9187/metrics' )
1919 } || {
2020 echo >&2 'curl metrics endpoint returned error'
2121 echo "${METRICS}"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ commands:
1515 {
1616 METRICS=$(kubectl exec --namespace "${NAMESPACE}" \
1717 "${PRIMARY}" -c exporter \
18- -- curl -k https://localhost:9187/metrics)
18+ -- curl --insecure --show-error --silent ' https://localhost:9187/metrics' )
1919 } || {
2020 echo >&2 'curl metrics endpoint returned error'
2121 echo "${METRICS}"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ commands:
1818 {
1919 METRICS=$(kubectl exec --namespace "${NAMESPACE}" \
2020 "${PRIMARY}" -c exporter \
21- -- curl http://localhost:9187/metrics)
21+ -- curl --show-error --silent ' http://localhost:9187/metrics' )
2222 } || {
2323 echo >&2 'curl metrics endpoint returned error'
2424 echo "${METRICS}"
You can’t perform that action at this time.
0 commit comments