feat: add common infrastructure clusters to oclogin-all - #94
Conversation
PR Summary by QodoInclude common infrastructure clusters in oclogin-all
AI Description
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1.
|
Add kflux-c-prd-e01, kflux-c-prd-i01, kflux-c-stg-e01, kflux-c-stg-i01 to the CLUSTERS variable so oclogin-all covers all common infrastructure clusters requested in KONFLUX-15435. Signed-off-by: Subrata Modak <smodak@redhat.com> Assisted-by: ClaudeAI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reflects the 4 common infrastructure clusters added to oclogin-all. Signed-off-by: Subrata Modak <smodak@redhat.com> Assisted-by: ClaudeAI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
67a57bb to
b7c5617
Compare
HCP (Hosted Control Plane) ROSA clusters on .p3.openshiftapps.com use a different API URL format: api.<cluster>.p3:443 (no "rosa." prefix, port 443 not 6443). The oclogin helper auto-derives wrong URLs for these. Add an HCP_API_URLS override map in oclogin-all so resolve_api_url() and login_cluster() use the correct endpoints. Signed-off-by: Subrata Modak <smodak@redhat.com> Assisted-by: ClaudeAI Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
kflux-c-prd-e01,kflux-c-prd-i01,kflux-c-stg-e01,kflux-c-stg-i01) to theCLUSTERSvariable inoclogin-alloclogin(lines 98-101) — this change makesoclogin-allinclude them in its login sweepTest plan
oclogin-all --dry-runlists all 4 common clusters and correctly resolves their API URLs (0 UNKNOWN)oclogin-allsuccessfully authenticates to all 4 common clusters (web login flow)Assisted-by: ClaudeAI
🤖 Generated with Claude Code