File tree Expand file tree Collapse file tree
src/apigw_manager/drf/management/commands/data Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " apigw-manager"
3- version = " 4.0.3 "
3+ version = " 4.0.4 "
44description = " The SDK for managing blueking gateway resource."
55readme = " README.md"
66authors = [" blueking <blueking@tencent.com>" ]
Original file line number Diff line number Diff line change @@ -27,9 +27,21 @@ stages:
2727 {% if settings.BK_APIGW_STAGE_BACKEND_SUBPATH %}
2828 vars :
2929 api_sub_path : {{ settings.BK_APIGW_STAGE_BACKEND_SUBPATH }}
30+ {% if settings.BK_APIGW_STAGE_ENV_VARS %}
31+ {% for key, value in settings.BK_APIGW_STAGE_ENV_VARS.items %}
32+ {{ key }}: "{{ value }}"
33+ {% endfor %}
34+ {% endif %}
35+ {% else %}
36+ {% if settings.BK_APIGW_STAGE_ENV_VARS %}
37+ vars :
38+ {% for key, value in settings.BK_APIGW_STAGE_ENV_VARS.items %}
39+ {{ key }}: "{{ value }}"
40+ {% endfor %}
3041 {% else %}
3142 vars : {}
3243 {% endif %}
44+ {% endif %}
3345 backends :
3446 - name : " default"
3547 config :
You can’t perform that action at this time.
0 commit comments