-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e2e TLS minio test coverage #3652
Conversation
14c93c2
to
87e8304
Compare
done | ||
echo "$DNS_NAMES" | ||
if [ -d "$CERT_DIR" ]; then | ||
rm -rf $CERT_DIR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is safe enough the way it is currently implemented, but make sure you think long and hard anytime you add an rm -rf $var
to your scripts. Make sure there's no way to screw up $var
. One thing you can do (it doesn't matter in this case) is set -u
, to treat unset variables as errors. I'm not asking for a change here, just warning you.
This PR makes the following changes:
minio
servicesgenerate-certs.sh
script that quickly builds new certs forminio
using mkcertv.0.78.0