Skip to content

Commit

Permalink
优化 relead.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-smile committed Nov 17, 2023
1 parent 80b97a2 commit dfc6d2f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions sdks/apigw-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ spec:
## 自定义 django command 时,可直接执行 command 指令
# -c
# "python manage.py sync_apigateway"
image: "mirrors.example.com/blueking/my-image:1.0.0"
image: "hub.bktencent.com/blueking/my-image:1.0.0"
imagePullPolicy: "IfNotPresent"
name: sync-apigateway
```
Expand Down Expand Up @@ -386,7 +386,7 @@ spec:
- bash
args:
- bin/sync-apigateway
image: "mirrors.example.com/blueking/apigw-manager:latest"
image: "hub.bktencent.com/blueking/apigw-manager:latest"
imagePullPolicy: "Always"
name: sync-apigateway
env:
Expand Down Expand Up @@ -438,7 +438,7 @@ spec:

步骤2. 构建 Dockerfile,参考:
```Dockerfile
FROM mirrors.example.com/blueking/apigw-manager:latest
FROM hub.bktencent.com/blueking/apigw-manager:latest

COPY support-files /data/
```
Expand All @@ -462,7 +462,7 @@ spec:
- bash
args:
- bin/sync-apigateway
image: "mirrors.example.com/blueking/my-apigw-manager:latest"
image: "hub.bktencent.com/blueking/my-apigw-manager:latest"
imagePullPolicy: "Always"
name: sync-apigateway
env:
Expand All @@ -488,7 +488,7 @@ docker run --rm \
-e BK_APP_CODE=<BK_APP_CODE> \
-e BK_APP_SECRET=<BK_APP_SECRET> \
-e DATABASE_URL=<DATABASE_URL> \
mirrors.example.com/blueking/apigw-manager:latest
hub.bktencent.com/blueking/apigw-manager:latest
```

同步后,会在 *<MY_PATH>* 目录下获得网关公钥文件 *apigateway.pub*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- bash
args:
- bin/sync-apigateway
image: "mirrors.example.com/blueking/apigw-manager:latest"
image: "hub.bktencent.com/blueking/apigw-manager:latest"
imagePullPolicy: "Always"
name: sync-apigateway
env:
Expand Down
2 changes: 1 addition & 1 deletion sdks/apigw-manager/examples/chart-custom-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM mirrors.example.com/blueking/apigw-manager:latest
FROM hub.bktencent.com/blueking/apigw-manager:latest

COPY support-files /data/
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- bash
args:
- bin/sync-apigateway
image: "mirrors.example.com/blueking/my-apigw-manager:latest"
image: "hub.bktencent.com/blueking/my-apigw-manager:latest"
imagePullPolicy: "Always"
name: sync-apigateway
env:
Expand Down

0 comments on commit dfc6d2f

Please sign in to comment.