-
Notifications
You must be signed in to change notification settings - Fork 727
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
swagger: block swagger url if disbale swagger server (#6785) #6789
swagger: block swagger url if disbale swagger server (#6785) #6789
Conversation
close tikv#6786 Signed-off-by: ti-chi-bot <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/hold |
Signed-off-by: bufferflies <[email protected]>
76c4600
to
c96bae9
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## release-6.5 #6789 +/- ##
===============================================
- Coverage 75.59% 75.59% -0.01%
===============================================
Files 329 328 -1
Lines 33130 33128 -2
===============================================
- Hits 25046 25043 -3
- Misses 5931 5934 +3
+ Partials 2153 2151 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
/test |
@bufferflies: The
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/merge |
@bufferflies: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: c96bae9
|
/test |
@bufferflies: The
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@HuSharp: The
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test all |
/merge |
@bufferflies: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This is an automated cherry-pick of #6785
What problem does this PR solve?
Issue Number: Close #6786
What is changed and how does it work?
Check List
Tests
Before
curl xxxx:2379/swagger/ui/index
After
![image](https://private-user-images.githubusercontent.com/23159587/252847889-4a628512-c135-4965-bd37-253bb64a142a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTE2MzEsIm5iZiI6MTczOTAxMTMzMSwicGF0aCI6Ii8yMzE1OTU4Ny8yNTI4NDc4ODktNGE2Mjg1MTItYzEzNS00OTY1LWJkMzctMjUzYmI2NGExNDJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDIxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2ZWUwYTRiNTA0NWQ4M2QyNjEzNTI4N2JkOWFlOWZhNzMwYzFkODNkY2Y3YzcwNzU3ZDYwZGZjY2M1ZTRhOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.u9EoL9P2pdB7nYk3iDrcgD-a0uEq8cqLNVdC6y4QdEA)
curl xxxx:2379/swagger/ui/index
swagger=1 make
![image](https://private-user-images.githubusercontent.com/23159587/252849535-9b6750a2-035f-42e0-b95b-d9f370e30a9f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTE2MzEsIm5iZiI6MTczOTAxMTMzMSwicGF0aCI6Ii8yMzE1OTU4Ny8yNTI4NDk1MzUtOWI2NzUwYTItMDM1Zi00MmUwLWI5NWItZDlmMzcwZTMwYTlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwNDIxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNhNDUwZmM4ZTJhODE0M2RkN2QzYzIyYzg1YzQ0Y2YzOTg5YjUzODRlN2FmZjhjNWRmOWMyZmRhMmFiODQxMjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uMKG97iSDud11cPzLGt_mf0o1LQov2tFkCoQxkTT43w)
Code changes
Side effects
Related changes
Release note