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

feat(apigw/definition): upgrade bk-apigateway backend #683

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,21 @@ apigateway:

stage:
name: prod
vars: {}
proxy_http:
timeout: 60
upstreams:
loadbalance: roundrobin
hosts:
- host: "{{ environ.DASHBOARD_INNER_URL }}"
backends:
- name: "default"
config:
timeout: 60
loadbalance: "roundrobin"
hosts:
- host: "{{ environ.DASHBOARD_INNER_URL }}"
weight: 100
- name: "core-api"
config:
timeout: 60
loadbalance: "roundrobin"
hosts:
- host: "http://bk-apigateway-core-api:80"
Han-Ya-Jun marked this conversation as resolved.
Show resolved Hide resolved
weight: 100

grant_permissions:
- bk_app_code: visual-layout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ paths:
allowApplyPermission: true
matchSubpath: false
backend:
name: core-api
type: HTTP
method: get
path: /backend/api/v1/apis/{api_name}/public_key/
path: /api/v1/open/gateways/{api_name}/public_key/
matchSubpath: false
timeout: 0
upstreams: {}
Expand Down
Loading