From 9f9112c6a50488474e5606e09ae2effb0c66b0a4 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 25 Apr 2026 02:17:52 +0200 Subject: [PATCH] feat(installer): add interactive registry prompts 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) --- installer/install.ps1 | 9 ++++++++- installer/install.sh | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/installer/install.ps1 b/installer/install.ps1 index 2ba2db3..5406bbf 100644 --- a/installer/install.ps1 +++ b/installer/install.ps1 @@ -484,7 +484,14 @@ function Run-SimplePrompts { Write-Host '' $c.MonitoringNetwork = Prompt-Value 'Monitoring network name (empty = skip)' '' - + + Write-Host '' + if (Prompt-YesNo 'Pull images from a private registry?') { + $c.Registry = Prompt-Value 'Registry' (Coalesce $c.Registry $DEFAULT_REGISTRY) + $c.RegistryUser = Prompt-Value 'Registry username' (Coalesce $c.RegistryUser '') + $c.RegistryToken = Prompt-Password 'Registry token/password' (Coalesce $c.RegistryToken '') + } + Write-Host '' Write-Host ' Deployment mode:' Write-Host ' [1] Multi-tenant SaaS -- manage platform, provision tenants on demand' diff --git a/installer/install.sh b/installer/install.sh index f32b4d2..46a9de0 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -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"