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