Skip to content

Commit

Permalink
feat: add app broker_url env support #ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls committed Jul 23, 2024
1 parent 92d8952 commit 538b298
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,3 +877,9 @@ def check_engine_admin_permission(request, *args, **kwargs):
"ot_endpoint": env.BK_AUDIT_ENDPOINT,
"bk_data_token": env.BK_AUDIT_DATA_TOKEN,
}


# 自定义 Broker
if "BKAPP_SOPS_BROKER_URL" in os.environ:
BROKER_URL = os.getenv("BKAPP_SOPS_BROKER_URL")
print(f"BROKER_URL: {BROKER_URL}")

0 comments on commit 538b298

Please sign in to comment.