File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def setup_install(
131131 try :
132132 GUID = os .environ ["GUID" ]
133133 RESOURCEGROUP = os .environ ["RESOURCEGROUP" ]
134- ACR_LOGIN_SERVER = os .environ [ "ACR_LOGIN_SERVER" ]
134+ REGISTRY_URL = os .environ . get ( "REGISTRY_URL" , "10.0.1.4:5000" )
135135 except KeyError as e :
136136 rprint (f"[red]Unable to get required environment variable: { e } [/red]" )
137137 raise e
@@ -146,13 +146,9 @@ def setup_install(
146146 ssh_key = ssh_key_path .expanduser ().read_text ().strip ()
147147 pull_secret = pull_secret_path .expanduser ().read_text ().strip ()
148148
149- # Get ACR certificate
150- rprint ("[info]Retrieving ACR certificate...[/info]" )
151- additional_trust_bundle = get_acr_certificate (ACR_LOGIN_SERVER )
152-
153- if not additional_trust_bundle :
154- rprint ("[yellow]Warning: No ACR certificate retrieved. You may need to add it manually.[/yellow]" )
155- additional_trust_bundle = "# No certificate retrieved automatically"
149+ # Bastion registry uses HTTP (no TLS), so no certificate needed
150+ rprint ("[info]Using bastion-hosted HTTP registry (no TLS certificate needed)[/info]" )
151+ additional_trust_bundle = "# Bastion registry uses HTTP (no TLS)"
156152
157153 # Parse IDMS files to imageDigestSources
158154 cluster_resources_dir = pattern_dir / "cluster-resources"
You can’t perform that action at this time.
0 commit comments