Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容器化版本出包需要新增的 settings 配置 #1474

Open
dellkeji opened this issue Sep 8, 2021 · 4 comments
Open

容器化版本出包需要新增的 settings 配置 #1474

dellkeji opened this issue Sep 8, 2021 · 4 comments
Assignees

Comments

@dellkeji
Copy link
Collaborator

dellkeji commented Sep 8, 2021

描述

新增配置

BCS_API_GW_ENV
BCS_API_GW_DOMAIN

@dellkeji
Copy link
Collaborator Author

相关的key已经在base中,单元测试中用到的继承base中,所以不需要再次放到单元测试用到的settings中

@narasux
Copy link
Collaborator

narasux commented Sep 28, 2021

ce/base.py

# 默认供应商(ce 版本为 None)
+ BKCC_DEFAULT_SUPPLIER_ACCOUNT = None

@jamesgetx
Copy link
Collaborator

jamesgetx commented Oct 11, 2021

ce/base.py 调整INSTALLED_APPS中 iam 模块位置

"backend.iam.bcs_iam_migration.apps.BcsIamMigrationConfig",

@jamesgetx
Copy link
Collaborator

jamesgetx commented Oct 18, 2021

ce/saas_prod.py

# cors settings
CORS_ALLOWED_ORIGINS = get_cors_allowed_origins([DEVOPS_HOST, BK_PAAS_HOST, DEVOPS_BCS_HOST, DEVOPS_BCS_API_URL])
CORS_ALLOW_CREDENTIALS = True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants