feat(installer): add interactive registry prompts
Some checks failed
CI / build (push) Successful in 1m19s
CI / docker (push) Successful in 16s
SonarQube Analysis / sonarqube (push) Failing after 1m47s

Both simple and expert modes now ask "Pull images from a private
registry?" with follow-up prompts for URL, username, and token.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-25 02:17:52 +02:00
parent e1a9f6d225
commit 9f9112c6a5
2 changed files with 15 additions and 1 deletions

View File

@@ -464,6 +464,13 @@ run_simple_prompts() {
echo ""
prompt MONITORING_NETWORK "Monitoring network name (empty = skip)" ""
echo ""
if prompt_yesno "Pull images from a private registry?"; then
prompt REGISTRY "Registry" "${REGISTRY:-$DEFAULT_REGISTRY}"
prompt REGISTRY_USER "Registry username" "${REGISTRY_USER:-}"
prompt_password REGISTRY_TOKEN "Registry token/password" "${REGISTRY_TOKEN:-}"
fi
echo ""
echo " Deployment mode:"
echo " [1] Multi-tenant SaaS — manage platform, provision tenants on demand"