From f4f2bfae1c5e4448f30c8b37fe5cb930acd8c55d Mon Sep 17 00:00:00 2001 From: Paul Payne Date: Mon, 4 Aug 2025 16:02:37 -0700 Subject: [PATCH] Remove defaultConfig from manifest when adding an app. --- bin/wild-app-add | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/wild-app-add b/bin/wild-app-add index a908cc4..70276bc 100755 --- a/bin/wild-app-add +++ b/bin/wild-app-add @@ -159,7 +159,7 @@ if yq eval '.defaultConfig' "${DEST_MANIFEST}" | grep -q -v '^null$'; then echo "Merged defaultConfig for app '${APP_NAME}'" # Remove defaultConfig from the copied manifest since it's now in config.yaml. - # yq eval 'del(.defaultConfig)' -i "${DEST_MANIFEST}" + yq eval 'del(.defaultConfig)' -i "${DEST_MANIFEST}" fi # Scaffold required secrets into .wildcloud/secrets.yaml if they don't exist @@ -184,7 +184,6 @@ if yq eval '.requiredSecrets' "${DEST_MANIFEST}" | grep -q -v '^null$'; then yq eval ".${secret_path} = \"${random_secret}\"" -i "${SECRETS_FILE}" fi done < <(yq eval '.requiredSecrets[]' "${DEST_MANIFEST}") - echo "Required secrets scaffolded for app '${APP_NAME}'" fi