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

pref: 优化rbac权限二进制部署脚本 #9769

Closed
6 tasks done
mingshewhe opened this issue Dec 6, 2023 · 0 comments
Closed
6 tasks done

pref: 优化rbac权限二进制部署脚本 #9769

mingshewhe opened this issue Dec 6, 2023 · 0 comments
Assignees
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功

Comments

@mingshewhe
Copy link
Collaborator

mingshewhe commented Dec 6, 2023

  • scripts/bkce-create-users.sh 需补充rbac注册
./bin/bkiam_migrate.sh -t "$BK_IAM_PRIVATE_URL" -a "$BK_CI_APP_CODE" -s "$BK_CI_APP_TOKEN" "$BK_CI_SRC_DIR"/support-files/bkiam-rbac/*.json
  • scripts/bkce-create-users.sh的$sub_dir/*.sql需去掉双引号
  • scripts/bk-ci-setup.sh增加-Dspring.main.allow-circular-references=true
  • bkce-set-env03.sh增加配置
BK_CI_AUTH_PROVIDER=rbac
BK_CI_IAM_SYSTEM_ID=bk_ci_rbac
BK_CI_IAM_MIGRATE_TOKEN=9sBQj!M0
BK_CI_IAM_APIGW_URL=http://$BK_APIGW_APIGATEWAY_CONSUL_SERVICE:6006/api/bk-iam/prod
BK_CI_ITSM_APIGW_URL=$BK_PAAS_PRIVATE_URL
BK_CI_IAM_URL_PREFIX=$BK_PAAS_PUBLIC_URL/o/bk_iam
BK_CI_ITSM_URL_PREFIX=$BK_PAAS_PUBLIC_URL/o/bk_itsm/#/
BK_CI_IAM_WEB_URL=$BK_PAAS_PUBLIC_URL/o/bk_iam/
  • auth sql 优化
  • application.yaml配置去掉NO_AUTO_CREATE_USER配置
@mingshewhe mingshewhe added the help wanted Extra attention is needed label Dec 6, 2023
@mingshewhe mingshewhe self-assigned this Dec 6, 2023
@mingshewhe mingshewhe added area/ci/backend CI 后端issue kind/version/sample 所属开源版本特性 and removed help wanted Extra attention is needed labels Dec 6, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 7, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 7, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 7, 2023
mingshewhe added a commit that referenced this issue Dec 7, 2023
pref: 优化rbac权限二进制部署脚本 #9769
@bkci-bot bkci-bot added for gray UAT environment in tencent has been deploy streams/for gray stream 灰度环境部署成功 streams/done stream 生产部署成功 labels Dec 7, 2023
@bkci-bot bkci-bot closed this as completed Dec 8, 2023
@bkci-bot bkci-bot added the done Production environment in tencent has been deploy label Dec 8, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 11, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 11, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 11, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 11, 2023
mingshewhe added a commit that referenced this issue Dec 11, 2023
pref: 优化rbac权限二进制部署脚本 #9769
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 11, 2023
stubenhuang added a commit that referenced this issue Dec 11, 2023
pref: 优化rbac权限二进制部署脚本 #9769
stubenhuang added a commit to stubenhuang/bk-ci that referenced this issue Dec 12, 2023
stubenhuang added a commit that referenced this issue Dec 12, 2023
pref: 优化rbac权限二进制部署脚本 #9769
@mingshewhe mingshewhe reopened this Dec 14, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 14, 2023
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Dec 14, 2023
mingshewhe added a commit that referenced this issue Dec 14, 2023
pref: 优化rbac权限二进制部署脚本 #9769
@mingshewhe mingshewhe removed the kind/version/sample 所属开源版本特性 label Dec 14, 2023
stubenhuang added a commit to stubenhuang/bk-ci that referenced this issue Dec 14, 2023
stubenhuang added a commit that referenced this issue Dec 14, 2023
pref: 优化rbac权限二进制部署脚本 #9769
@stubenhuang stubenhuang mentioned this issue Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功
Projects
None yet
Development

No branches or pull requests

2 participants