Skip to content

Commit

Permalink
[fix] Define redis password via env
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias committed Jul 31, 2024
1 parent 04fd40e commit f445880
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions collect_coordinator/worker_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ def parse_post_collect_definition_json(self, js: Json) -> JobDefinition:
]
# fmt: on

# Make passwords available via env
if redis_password := self.credentials.get("redis_password"):
env["REDIS_PASSWORD"] = redis_password

# each job run is for one tenant and all collected accounts
return JobDefinition(
app="post-collect-job",
Expand Down

0 comments on commit f445880

Please sign in to comment.