Skip to content
Snippets Groups Projects
Unverified Commit dc33a197 authored by Kei Kori's avatar Kei Kori Committed by GitHub
Browse files

[etcd] fix make-ssl-etcd.sh.j2; move pem files only if any new certs exist (#9974)

parent ed6f8df7
No related branches found
No related tags found
No related merge requests found
......@@ -100,4 +100,6 @@ if [ -e "$SSLDIR/ca-key.pem" ]; then
rm -f ca.pem ca-key.pem
fi
mv *.pem ${SSLDIR}/
if [ -n "$(ls -A *.pem)" ]; then
mv *.pem ${SSLDIR}/
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment