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: add global-option setting in configmap #699

Merged
merged 18 commits into from
Jan 8, 2024

Conversation

sjcsjc123
Copy link
Collaborator

@sjcsjc123 sjcsjc123 commented Dec 15, 2023

Ⅰ. Describe what this PR did

完善configmap配置

Ⅱ. Does this pull request fix one issue?

fixes #625
fixes #631
fixes #643

Ⅲ. Why don't you add test cases (unit test/integration test)?

暂不知道如何进行测试

Ⅳ. Describe how to verify it

参考gzip/tracing

Ⅴ. Special notes for reviews

Signed-off-by: sjcsjc123 <1401189096@qq.com>
sjcsjc123 and others added 5 commits December 15, 2023 19:00
Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
@codecov-commenter
Copy link

codecov-commenter commented Dec 17, 2023

Codecov Report

Attention: 242 lines in your changes are missing coverage. Please review.

Comparison is base (e84f998) 38.24% compared to head (9306c64) 38.11%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #699      +/-   ##
==========================================
- Coverage   38.24%   38.11%   -0.13%     
==========================================
  Files          60       61       +1     
  Lines        9979    10323     +344     
==========================================
+ Hits         3816     3935     +119     
- Misses       5871     6089     +218     
- Partials      292      299       +7     
Files Coverage Δ
pkg/ingress/kube/configmap/config.go 76.92% <100.00%> (+76.92%) ⬆️
pkg/ingress/kube/configmap/controller.go 0.00% <0.00%> (ø)
pkg/ingress/kube/configmap/global.go 29.55% <29.55%> (ø)

... and 2 files with indirect coverage changes

Signed-off-by: sjcsjc123 <1401189096@qq.com>
@johnlanni
Copy link
Collaborator

@sjcsjc123 可以参考下hgctl gateway-config的方式,通过校验envoy配置来做e2e test

@sjcsjc123
Copy link
Collaborator Author

@sjcsjc123 可以参考下hgctl gateway-config的方式,通过校验envoy配置来做e2e test

等pr #710 完成后,我就提供一下e2e测试

@sjcsjc123 sjcsjc123 marked this pull request as draft December 26, 2023 05:52
sjcsjc123 and others added 5 commits December 29, 2023 23:17
Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
…igmap

# Conflicts:
#	test/e2e/conformance/tests/configmap-global.go
@sjcsjc123 sjcsjc123 marked this pull request as ready for review January 1, 2024 15:19
Signed-off-by: sjcsjc123 <1401189096@qq.com>
@johnlanni
Copy link
Collaborator

cc @2456868764

Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
Signed-off-by: sjcsjc123 <1401189096@qq.com>
@2456868764
Copy link
Collaborator

LGTM

@johnlanni johnlanni merged commit c250e85 into alibaba:main Jan 8, 2024
11 checks passed
@johnlanni
Copy link
Collaborator

@sjcsjc123 这块的文档要补充下:https://higress.io/zh-cn/docs/user/configmap

@sjcsjc123
Copy link
Collaborator Author

@sjcsjc123 这块的文档要补充下:https://higress.io/zh-cn/docs/user/configmap

正在补充

@sjcsjc123 sjcsjc123 deleted the envoy_configmap branch January 12, 2024 07:24
@sjcsjc123 sjcsjc123 restored the envoy_configmap branch January 14, 2024 06:45
@sjcsjc123 sjcsjc123 deleted the envoy_configmap branch January 14, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants