Conversation
wklken
marked this pull request as draft
September 23, 2026 06:23
Collaborator
Author
|
网关 1.25 发布到全部环境后,再合并出新的 apigw-manager sdk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
definition.yaml使用布尔字段apigateway.is_official。BK_APIGW_IS_OFFICIAL数值设置(1/10)及布尔设置(True/False);新配置文档只示范布尔值。依赖及顺序
api_type;新字段优先。验证
test_generate_definition_yaml.py:13 passed。ruff format --check与git diff --check:通过。ruff check:该测试文件有 10 条既有问题;在master原版文件上复现同样的 10 条,新增代码未增加告警。本地镜像验证与适用范围
69dded9构建基础镜像,安装后的definition.yaml与源码 SHA256 一致;镜像内渲染 1/10/True/False 均符合预期。/data/definition.yaml,不调用该内置模板;demo 镜像也未注册generate_definition_yaml命令。自定义镜像示例仍继承apigw-manager:3.1.1;如需设置官方网关,该示例需在提供的定义文件中声明is_official。