-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Improvement][Etcd] Support SSL In Etcd And Enhance Etcd In Helm #13924
Conversation
qingwli
commented
Apr 13, 2023
•
edited by SbloodyS
Loading
edited by SbloodyS
- close [Improvement][Etcd] Support SSL In Etcd And Enhance Etcd In Helm #13923
Codecov Report
@@ Coverage Diff @@
## dev #13924 +/- ##
============================================
- Coverage 38.89% 38.50% -0.40%
- Complexity 4456 4561 +105
============================================
Files 1158 1239 +81
Lines 42429 43563 +1134
Branches 4776 4819 +43
============================================
+ Hits 16504 16773 +269
- Misses 24108 24933 +825
- Partials 1817 1857 +40
... and 213 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
SonarCloud Quality Gate failed. |
@kezhenxu94 do you have a time to take a look this PR? |
@Disabled | ||
@Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the point to add a @Disabled
test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test method is used for the user to test connect etcd with configuration, user need to input their endpoints and SSL file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test method is used for the user to test connect etcd with configuration, user need to input their endpoints and SSL file.
Etcd has its own method to test connection, users don't even have the source codes, this test should be removed, and the comments should go into the doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments has exist in readme.md
{{- if .Values.etcd.enabled }} | ||
apiVersion: v1 | ||
kind: Secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
etcd being enabled doesn't indicate ssl is enabled too, so the condition {{- if .Values.etcd.enabled }}
to create this Secret
doesn't seem to make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will add a new var named ssl.enable
PTAL @kezhenxu94 |
1 similar comment
PTAL @kezhenxu94 |
SonarCloud Quality Gate failed. |
) (cherry picked from commit 1c0dfbb)