Skip to content

Conversation

Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented May 19, 2025

Allow ${VAR} references in Relay's config. Any leaf value can now be a reference to an environment variable.

Another attempt at #4748 for #4647, now with version 0.2 (instead of 0.1).

serde-vars 0.2 is now more lenient in deserialization when it can (for strings and bytes) and the underlying deserializer supports it. This will fix the config issue with YAML configs, which broke self hosted CI/the self hosted default Kafka config.

@Dav1dde Dav1dde requested a review from a team as a code owner May 19, 2025 19:11
@Dav1dde Dav1dde force-pushed the dav1d/env-var-config branch from 66b7264 to 0b25918 Compare May 19, 2025 19:12
@Dav1dde Dav1dde self-assigned this May 20, 2025
@Dav1dde Dav1dde merged commit e3b62f0 into master May 20, 2025
28 checks passed
@Dav1dde Dav1dde deleted the dav1d/env-var-config branch May 20, 2025 08:57
loewenheim added a commit to getsentry/symbolicator that referenced this pull request Jun 11, 2025
This makes it possible to use environment variables in the config file, courtesy of serde-vars.

Inspired by getsentry/relay#4750.
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.

2 participants