Skip to content

Add consoleHost for the console hostname - #1448

Merged
ArnobKumarSaha merged 3 commits into
masterfrom
arnob-console-host
Dec 3, 2026
Merged

ArnobKumarSaha merged 3 commits into
masterfrom
arnob-console-host

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Adds an optional console hostname, separate from global.platform.host, for everything the browser reaches.

  • API: AceOptionsGateway.ConsoleHost, AceOptionsSpec.ConsoleHost() (falls back to Host()), and consoleHost on the ace, platform-ui and console chart platform settings.
  • Uses consoleHost (default host consoleHost): b3 DOMAIN/BASE_URL, [iam] PUBLIC_URL, CASDOOR_REDIRECT_URI, WEBSOCKET_ADDR, platform-ui PLATFORM_DOMAIN, patch-console public URLs, casdoor logo/favicon URLs.
  • Stays on host: NATS EXTERNAL_ADDR (4222), S3 (4224), casdoor./trust. subdomains, backend TLS SNI.
  • HTTPRoutes in domain mode (and route-patch-console) also match consoleHost.
  • service-gateway: infra.extraDNSNames is appended to the gateway cert dnsNames in IP and domain modes.
  • With consoleHost unset (or equal to host), the rendered output is identical to master.

Because b3 has a single BASE_URL, spoke-facing URLs also move to consoleHost, so imported clusters must be reconfigured when it changes.

Depends on: appscode-cloud/catalog#67 (go.mod points at that branch commit; re-bump after merge).

Signed-off-by: Arnob kumar saha <arnob@appscode.com>
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit bda2e71 into master Dec 3, 2026
3 of 4 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the arnob-console-host branch December 3, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant