Repository navigation
Add consoleHost for the console hostname - #1448
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional console hostname, separate from
global.platform.host, for everything the browser reaches.AceOptionsGateway.ConsoleHost,AceOptionsSpec.ConsoleHost()(falls back toHost()), andconsoleHoston the ace, platform-ui and console chart platform settings.default host consoleHost): b3DOMAIN/BASE_URL,[iam] PUBLIC_URL,CASDOOR_REDIRECT_URI,WEBSOCKET_ADDR, platform-uiPLATFORM_DOMAIN, patch-console public URLs, casdoor logo/favicon URLs.EXTERNAL_ADDR(4222), S3 (4224),casdoor./trust.subdomains, backend TLS SNI.infra.extraDNSNamesis appended to the gateway certdnsNamesin IP and domain modes.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).