From f66a192d455d78cfc87010716bc56ff0df56d000 Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 17 Jul 2023 07:42:51 +0200 Subject: [PATCH] document env-to-ini env saving --- templates/gitea/config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/gitea/config.yaml b/templates/gitea/config.yaml index 044ecd5..1e81ef6 100644 --- a/templates/gitea/config.yaml +++ b/templates/gitea/config.yaml @@ -141,7 +141,8 @@ stringData: env2ini::log "...Initial secrets generated\n" } - + + # save existing envs prior to script execution. Necessary to keep order of preexisting and custom envs env | (grep GITEA || [[ $? == 1 ]]) > /tmp/existing-envs # MUST BE CALLED BEFORE OTHER CONFIGURATION