Fix Brig's configmap for SFT Lookup Templating#2015
Merged
mdimjasevic merged 2 commits intodevelopfrom Dec 31, 2021
Merged
Conversation
julialongtin
approved these changes
Dec 31, 2021
This was referenced Jan 3, 2022
jschaul
added a commit
that referenced
this pull request
Jan 4, 2022
…ftd_disco sidecar process. (#2019) Related to https://wearezeta.atlassian.net/browse/FS-266. Implements querying the list of all SFT servers from the sftd's sidecar nginx pod. This is a different take on the above issue and if this list provided by sft servers is made use of; then that makes some of the work introduced in #2012 #2014 #2015 obsolete (sorry 😟 ). From brig, using the url configured in `setSftStaticUrl`, and calling `/sft_servers_all.json` on that URL, this PR provides a list of all SFT servers available. The list is computed on the SFTD chart itself (using a sftd_disco sidecar container). This has the advantage of allowing brig to be hosted on a separate kubernetes cluster to sftd, and moves the business logic of knowing sftd servers to sftd itself. From a brig pod on a test cluster: ``` # cat /etc/wire/brig/conf/brig.yaml | grep sft setSftStaticUrl: https://sftd.a.adhoc-testing.wire.link:443 / # curl -ks https://sftd.a.adhoc-testing.wire.link:443/sft_servers_all.json { "sft_servers_all": [ "https://sftd.a.adhoc-testing.wire.link/sfts/wire-server-a-sftd-0" ] } ``` Co-authored-by: Marko Dimjašević <marko.dimjasevic@wire.com>
Merged
4 tasks
Merged
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.
This is a follow-up to PR #2014 and part of https://wearezeta.atlassian.net/browse/FS-266. It fixes templating in Brig's configmap.
Checklist
changelog.d.