From 51492566711ebb75262874956a90f75f59ffcbf0 Mon Sep 17 00:00:00 2001 From: Kevin Fox Date: Fri, 19 Apr 2024 07:05:39 -0700 Subject: [PATCH] Work around curl change Signed-off-by: Kevin Fox --- .../charts/spire-server/templates/tests/test-connection.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/spire/charts/spire-server/templates/tests/test-connection.yaml b/charts/spire/charts/spire-server/templates/tests/test-connection.yaml index 9c48b62..3ff41c6 100644 --- a/charts/spire/charts/spire-server/templates/tests/test-connection.yaml +++ b/charts/spire/charts/spire-server/templates/tests/test-connection.yaml @@ -24,8 +24,8 @@ spec: curl -k -f -s 'https://{{ include "spire-server.fullname" . }}:{{ .Values.service.port }}' IGNORECA=$? echo $NOCA $IGNORECA - if [ $NOCA -eq 60 -a $IGNORECA -eq 22 ]; 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 + 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 (56) because we're not using grpc exit 0 fi exit 1