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 TLS version annotation support for per-rule configuration #1592

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yunmaoQu
Copy link

Ⅰ. Describe what this PR did

support for setting TLS version annotations (tls-min-version and tls-max-version) for per-rule configurations in Higress. This allows users to override global TLS settings for specific ingress rules.

Ⅱ. Does this pull request fix one issue?

fix #1586

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

Ⅳ. Describe how to verify it

Verified functionality with unit tests (TestTLSConfig) and integration tests.
Manually tested with custom ingress rules.

Ⅴ. Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Dec 13, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ yunmaoQu
❌ qu ym


qu ym seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@@ -138,6 +138,10 @@ type AnnotationHandler interface {
RouteHandler
TrafficPolicyHandler
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is suggested to extend this implementation, rather than creating a separate file.
https://github.com/alibaba/higress/blob/main/pkg/ingress/kube/annotations/downstreamtls.go

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok,get it,i will get it a try ,thanks for your review.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

希望新增针对规则单独注解设置TLS版本功能
3 participants