-
Notifications
You must be signed in to change notification settings - Fork 500
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
Tidb support setting a random password. #4328
Conversation
[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. |
Codecov Report
@@ Coverage Diff @@
## master #4328 +/- ##
==========================================
+ Coverage 62.63% 71.62% +8.99%
==========================================
Files 184 188 +4
Lines 19598 22086 +2488
==========================================
+ Hits 12275 15820 +3545
+ Misses 6176 5139 -1037
+ Partials 1147 1127 -20
|
pkg/util/util.go
Outdated
10, // number of digits to include in the result | ||
0, // number of symbols to include in the result | ||
false, // noUpper |
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.
why 0
symbols?
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.
I have reset a value.
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.
password example :_aL`re5t6gz.Z
/test pull-e2e-kind |
1 similar comment
/test pull-e2e-kind |
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.
LGTM
/test pull-e2e-kind |
/test pull-e2e-kind-br |
1 similar comment
/test pull-e2e-kind-br |
max-open-files: 256 | ||
tidb: | ||
initializer: | ||
createPassword: true |
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.
add a comment to highlight this line?
/run-all-tests |
/run-all-tests |
1 similar comment
/run-all-tests |
/test pull-e2e-kind-basic |
/test pull-e2e-kind |
1 similar comment
/test pull-e2e-kind |
/test pull-e2e-kind-basic |
1 similar comment
/test pull-e2e-kind-basic |
/test pull-e2e-kind |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 8f9156d
|
What problem does this PR solve?
#4326
What is changed and how does it work?
Support
spec.tidb.initializer.createPassword
field, which enable will auto generate random password and set up.Code changes
Tests
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.