From 0538d4bcb533aa64704817ad6966afee73bf84f2 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Thu, 5 Jan 2023 10:45:31 -0500 Subject: [PATCH] fix: logging github webook and weave gitops secrets is fine for now Signed-off-by: Devin Buhl --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 64403ba6..349b6f9c 100755 --- a/configure +++ b/configure @@ -454,7 +454,7 @@ generate_ansible_hosts() { } setup_github_webhook() { - _has_envar "BOOTSTRAP_FLUX_GITHUB_WEBHOOK_SECRET" "true" + _has_envar "BOOTSTRAP_FLUX_GITHUB_WEBHOOK_SECRET" WEBHOOK_SECRET="${BOOTSTRAP_FLUX_GITHUB_WEBHOOK_SECRET}" if [[ "${WEBHOOK_SECRET}" == "generated" ]]; then WEBHOOK_SECRET="$(openssl rand -base64 30)" @@ -467,7 +467,7 @@ setup_github_webhook() { } setup_weave_gitops() { - _has_envar "BOOTSTRAP_WEAVE_GITOPS_ADMIN_PASSWORD" "true" + _has_envar "BOOTSTRAP_WEAVE_GITOPS_ADMIN_PASSWORD" WEAVE_GITOPS_ADMIN_PASSWORD="${BOOTSTRAP_WEAVE_GITOPS_ADMIN_PASSWORD}" if [[ "${WEAVE_GITOPS_ADMIN_PASSWORD}" == "generated" ]]; then WEAVE_GITOPS_ADMIN_PASSWORD="$(openssl rand -base64 30)"