Skip to content
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

Cannot override clusters when run as systemd service #19

Open
faximan opened this issue Nov 25, 2024 · 1 comment
Open

Cannot override clusters when run as systemd service #19

faximan opened this issue Nov 25, 2024 · 1 comment

Comments

@faximan
Copy link

faximan commented Nov 25, 2024

Hey!

As I'm not familiar with jsonnet I am probably just holding this wrong... I have figured out that I need to override the clusters variable in bb_clientd.jsonnet to include my RBE endpoint.

This works when run from source, but when run as a systemd service that does not give me access to the config directly, I am not sure what I need to put into ~/.config/bb_clientd.jsonnet.

Thanks in advance,

@EdSchouten
Copy link
Member

Yeah, that's a bit annoying. Right now you need to copy the entire default configuration to ~/.config/bb_clientd.jsonnet and adjust that. Ideally we'd make it so that you could override just that part:

local defaults = import 'bb_clientd_defaults.jsonnet';
defaults {
  clusters:: ['hostname-a', 'hostname-b'],
}

Unfortunately, that's not supported (yet). Patches are welcome!

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

No branches or pull requests

2 participants