From ec79d6ad8f1ba5ff40012b3c292ea76d1c01713f Mon Sep 17 00:00:00 2001 From: Adrien Date: Thu, 26 Mar 2020 13:23:38 +0100 Subject: [PATCH] Add cleanup --- bin/gen_list.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/gen_list.sh b/bin/gen_list.sh index b7147a6..ba9cda5 100755 --- a/bin/gen_list.sh +++ b/bin/gen_list.sh @@ -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