Skip to content

Commit

Permalink
grant permissions for gateway bk-apigatway (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-smile authored Jul 17, 2023
1 parent dccefee commit 1a0c506
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dashboard/bin/post_migrate
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ sync_bk_apigateway() {
python manage.py sync_apigw_config --api-name=bk-apigateway --host=${DASHBOARD_INNER_URL}/backend --file="${APIGW_DEFINITIONS_DIR}/bk-apigateway-definition.yaml"
python manage.py sync_apigw_stage --api-name=bk-apigateway --host=${DASHBOARD_INNER_URL}/backend --file="${APIGW_DEFINITIONS_DIR}/bk-apigateway-definition.yaml"
python manage.py sync_apigw_resources --delete --api-name=bk-apigateway --host=${DASHBOARD_INNER_URL}/backend --file="${APIGW_DEFINITIONS_DIR}/bk-apigateway-resources.yaml"
python manage.py grant_apigw_permissions --api-name=bk-apigateway --host=${DASHBOARD_INNER_URL}/backend --file="${APIGW_DEFINITIONS_DIR}/bk-apigateway-definition.yaml"
python manage.py fetch_apigw_public_key --api-name=bk-apigateway --host=${DASHBOARD_INNER_URL}/backend
python manage.py create_version_and_release_apigw --generate-sdks --api-name=bk-apigateway --host=${DASHBOARD_INNER_URL}/backend --file="${APIGW_DEFINITIONS_DIR}/bk-apigateway-definition.yaml"
echo "API gateway bk-apigateway sync definition end"
Expand Down

0 comments on commit 1a0c506

Please sign in to comment.