-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(kubernetes): format keycloak config * feat(kubernetes): make public keycloak url configurable This is a follow up to #3063. We also need to be able to configure the frontend url of Keycloak. Also we don't want that anyone can register (or login via 3rd party providers).
- Loading branch information
1 parent
f5ac353
commit 53558de
Showing
6 changed files
with
89 additions
and
78 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- define "loculus.keycloakUrl" -}} | ||
{{- $publicRuntimeConfig := (($.Values.website).runtimeConfig).public }} | ||
{{- if $publicRuntimeConfig.keycloakUrl }} | ||
{{- $publicRuntimeConfig.keycloakUrl -}} | ||
{{- else if eq $.Values.environment "server" -}} | ||
{{- (printf "https://authentication%s%s" $.Values.subdomainSeparator $.Values.host) -}} | ||
{{- else -}} | ||
{{- "http://localhost:8083" -}} | ||
{{- end -}} | ||
{{- end -}} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1451,6 +1451,10 @@ auth: | |
envelopeFrom: "[email protected]" | ||
verifyEmail: true | ||
resetPasswordAllowed: true | ||
registrationAllowed: true | ||
identityProviders: | ||
orcid: | ||
clientId: "APP-P1P7N7T9YVBHQ4EH" | ||
insecureCookies: false | ||
bannerMessage: "This is a demonstration environment. It may contain non-accurate test data and should not be used for real-world applications. Data will be deleted regularly." | ||
additionalHeadHTML: '<script defer data-domain="loculus.org" src="https://plausible.io/js/script.js"></script>' | ||
|