-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: data residency adaptations #2703
Conversation
Codecov ReportBase: 45.49% // Head: 45.48% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2703 +/- ##
==========================================
- Coverage 45.49% 45.48% -0.02%
==========================================
Files 290 290
Lines 48028 48045 +17
==========================================
+ Hits 21850 21851 +1
- Misses 24797 24809 +12
- Partials 1381 1385 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
2c4345c
to
9e0fe8e
Compare
9e0fe8e
to
3774a80
Compare
3774a80
to
82a017f
Compare
@@ -303,11 +305,12 @@ func newForDeployment(deploymentType deployment.Type, configEnvHandler types.Con | |||
// Setup backend config | |||
func Setup(configEnvHandler types.ConfigEnvI) (err error) { | |||
deploymentType, err := deployment.GetFromEnv() | |||
region := config.GetString("region", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good, if this line is below err check line.
Description
With data residency, multiple data planes can exist for the same namespace/workspace in different regions. Each data plane will operate against a region-specific configuration and warehouse nodes need to advertise their region to cp-router, so that control plane can perform cp-router requests targeting a specific region.
According to the above, the following
rudder-server
adaptations are required:region
query parameter when requesting the configuration from config backend.region
label in cp-router's authentication response.Relevant work
#70 adds support for labels and label-based selection of connections in
cp-router
.Notion Ticket
Link
Security