Work around curl change

Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
Kevin Fox
2024-04-19 16:36:40 +02:00
committed by Marco Franssen
parent 3d2ac166b9
commit 5149256671
@@ -24,8 +24,8 @@ spec:
curl -k -f -s 'https://{{ include "spire-server.fullname" . }}:{{ .Values.service.port }}' curl -k -f -s 'https://{{ include "spire-server.fullname" . }}:{{ .Values.service.port }}'
IGNORECA=$? IGNORECA=$?
echo $NOCA $IGNORECA echo $NOCA $IGNORECA
if [ $NOCA -eq 60 -a $IGNORECA -eq 22 ]; then if [ $NOCA -eq 60 -a $IGNORECA -eq 56 ]; then
# We were able to connect to the server but didn't recognize the ca (60) and the page not found (22) because we're not using grpc # We were able to connect to the server but didn't recognize the ca (60) and the page not found (56) because we're not using grpc
exit 0 exit 0
fi fi
exit 1 exit 1