Page MenuHomePhabricator

[envvars,maintain-kubeusers] create and populate envvars for common service names
Closed, ResolvedPublic

Description

This would be (please add any others if you know them):

TOOL_REDIS_URI="redis://redis.svc.tools.eqiad1.wikimedia.cloud:6379"
TOOL_ELASTICSEARCH_URL="http://elasticsearch.svc.tools.eqiad1.wikimedia.cloud:80"
TOOL_TOOLFORGE_API_URL="https://api.svc.tools.eqiad1.wikimedia.cloud:30003"

We might want to do something similar with the replicas, but that might require a bit more thought, as there's many of them, so maybe using a domain instead?

TOOL_ANALYTICS_REPLICA_DOMAIN="analytics.db.svc.wikimedia.cloud"
TOOL_WEB_REPLICA_DOMAIN="web.db.svc.wikimedia.cloud"

Event Timeline

taavi subscribed.

Is it possible to maintain one canonical copy instead of having the 3,000+ tools maintain separate secret objects with identical contents? Something injected by the envvars webhook from its config file from example?

Slst2020 renamed this task from [envvars,maintain-kubeusers] create and populate envvars for the common serivce name to [envvars,maintain-kubeusers] create and populate envvars for common service names .Nov 30 2023, 2:01 PM
dcaro triaged this task as Low priority.Jan 24 2024, 1:59 PM
dcaro changed the task status from Open to In Progress.Nov 13 2024, 9:25 AM
dcaro moved this task from Next Up to In Progress on the Toolforge (Toolforge iteration 16) board.

group_203_bot_4866fc124f4b41659f667468a6115cf3 opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/612

envvars-admission: bump to 0.0.22-20241120104704-1c22695e

Deployed and updated the wiki pages

dcaro moved this task from In Progress to Done on the Toolforge (Toolforge iteration 16) board.