mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #25311 from swagiaal/check-openssl
Automatic merge from submit-queue Verify that openssl is installed in local-up-cluster.sh
This commit is contained in:
commit
0985f847ea
@ -92,6 +92,14 @@ function test_docker {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function test_openssl_installed {
|
||||||
|
openssl version >& /dev/null
|
||||||
|
if [ "$?" != "0" ]; then
|
||||||
|
echo "Failed to run openssl. Please ensure openssl is installed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Shut down anyway if there's an error.
|
# Shut down anyway if there's an error.
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
@ -435,6 +443,7 @@ EOF
|
|||||||
|
|
||||||
test_docker
|
test_docker
|
||||||
test_apiserver_off
|
test_apiserver_off
|
||||||
|
test_openssl_installed
|
||||||
|
|
||||||
### IF the user didn't supply an output/ for the build... Then we detect.
|
### IF the user didn't supply an output/ for the build... Then we detect.
|
||||||
if [ "$GO_OUT" == "" ]; then
|
if [ "$GO_OUT" == "" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user