Skip to content

Commit

Permalink
Merge pull request #282 from zhu327/bugfix_template_update
Browse files Browse the repository at this point in the history
feat: update config for helm chart
  • Loading branch information
zhu327 authored Oct 20, 2021
2 parents a0dfdbc + 1d88f5c commit 1313f96
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
13 changes: 13 additions & 0 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# V1.5.8

### 功能优化
* 优化资源回调结构错误提示
* 长时任务重试

### 缺陷修复
* 修复更新模板未同步到用户组权限问题
* 修复非80/443端口时cookie domain错误问题
* 取消勾选对应权限的实例报错
* 修复后台关联数据时tag返回值bug

# V1.5.7

### 缺陷修复
* 修复url拼接多个/导致访问出错问题
* 修复前端人员列表组件范围地址错误问题

Expand Down
2 changes: 1 addition & 1 deletion saas/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.7
1.5.8
6 changes: 6 additions & 0 deletions saas/config/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
import json

def get_app_service_url(app_code: str) -> str:
if app_code == os.environ.get("BKPAAS_APP_ID", APP_CODE) and "BK_IAM_APP_URL" in os.environ:
return os.environ["BK_IAM_APP_URL"]

if app_code == "bk_itsm" and "BK_ITSM_APP_URL" in os.environ:
return os.environ["BK_ITSM_APP_URL"]

value = os.environ["BKPAAS_SERVICE_ADDRESSES_BKSAAS"]
decoded_value = json.loads(base64.b64decode(value).decode("utf-8"))
return {item["key"]["bk_app_code"]: item["value"]["prod"] for item in decoded_value}[app_code]
Expand Down
11 changes: 11 additions & 0 deletions saas/resources/version_log/V1.5.8_2021-10-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# V1.5.8 版本更新日志

### 功能优化
* 优化资源回调结构错误提示
* 长时任务重试

### 缺陷修复
* 修复更新模板未同步到用户组权限问题
* 修复非80/443端口时cookie domain错误问题
* 取消勾选对应权限的实例报错
* 修复后台关联数据时tag返回值bug
11 changes: 11 additions & 0 deletions saas/resources/version_log/V1.5.8_2021-10-20_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# V1.5.8 ChangeLog

### Optimization Updates
* Optimize resource callback structure error prompt
* Long-term task retry

### Bug Fixes
* Fix the issue that the updated template is not synchronized to the user group permissions
* Fixed the problem of cookie domain error when port is not 80/443
* Uncheck the corresponding permission instance and report an error
* Fix the bug of tag return value when linking data in the background

0 comments on commit 1313f96

Please sign in to comment.