Skip to content

Commit

Permalink
apigw-manager tag use 3.0.0 instead of latest (TencentBlueKing#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-smile authored and piglei committed Mar 21, 2024
1 parent b2fafff commit 8fc6bda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions sdks/apigw-manager/docs/sync-apigateway-with-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ functions.sh 中的 bash 函数:
步骤2:在 chart values.yaml 中添加配置
```yaml
apigatewaySync:
image: "hub.bktencent.com/blueking/apigw-manager:latest"
image: "hub.bktencent.com/blueking/apigw-manager:3.0.0"
configMapMounts:
- name: "sync-apigw-base"
filePath: "files/support-files/*"
Expand Down Expand Up @@ -202,7 +202,7 @@ spec:

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

COPY support-files /data/
```
Expand Down Expand Up @@ -251,7 +251,7 @@ docker run --rm \
-e BK_API_URL_TMPL=<BK_API_URL_TMPL> \
-e BK_APP_CODE=<BK_APP_CODE> \
-e BK_APP_SECRET=<BK_APP_SECRET> \
hub.bktencent.com/blueking/apigw-manager:latest
hub.bktencent.com/blueking/apigw-manager:3.0.0
```


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apigatewaySync:
enabled: true
image: "hub.bktencent.com/blueking/apigw-manager:latest"
image: "hub.bktencent.com/blueking/apigw-manager:3.0.0"
configMapMounts:
- name: "sync-apigw-base"
filePath: "files/support-files/*"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM hub.bktencent.com/blueking/apigw-manager:latest
FROM hub.bktencent.com/blueking/apigw-manager:3.0.0

COPY support-files /data/

0 comments on commit 8fc6bda

Please sign in to comment.