【GLCC】Higress Console 支持 Gateway API-功能模块1 #325
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.
Ⅰ. Describe what this PR did
本pr主要完成功能第一部分:资源定义及初始化,包括①CRD Model的创建,②在启动console时,初始化gtw class并绑定至higress-controller,③从全局配置中读取网关模式(ingress or gatewayapi)
Ⅱ. 整体进度
[√]启动console时,初始化gtw class,读取网关模式
[ ]修改域名定义,支持不同端口配置不同证书
[ ]增加域名端口时,同时修改higress-gateway的service的ports字段 #896
[ ]域名为 强转HTTPS 时,创建HTTPRoute进行转化(tls重定向)
[ ]重写、重定向等策略的适配
[ ]支持openapi导入,生成配置
[ ]路由级插件适配
Ⅲ. 结果
Ⅳ. 备注
目前只是先把网关模式(ingress or gatewayapi)放在名为
higress-config
的configmap配置文件中,如果不合适可以换到别的地方,后面考虑console端加上配置页面,支持更细粒度的配置。