Add cleanup

This commit is contained in:
Adrien Reslinger 2020-03-26 13:23:38 +01:00
parent 2ec49e784c
commit ec79d6ad8f

View file

@ -8,4 +8,5 @@ mv generated "${CERTMANAGER_SHORTVERSION}"
cat generated.log | while read LIGNE; do if [ $(echo "${LIGNE}" | grep -c ^File) -eq 1 ]; then echo -n "${LIGNE} "; else echo "${LIGNE}"; fi; done | grep ^File | sort -V | sed 's|.*\(generated/\)\(.*\.yaml\)| - "'${CERTMANAGER_SHORTVERSION}'/\2"|'
sed '/args:/ a\ - --dns01-recursive-nameservers=8.8.8.8:53,1.1.1.1:53' -i "${CERTMANAGER_SHORTVERSION}"/cert-manager-Deployment.yaml
rm -f generated.log cert-manager.yaml