-
Notifications
You must be signed in to change notification settings - Fork 281
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
[Enhancement] Add a flag to setup default admin:admin in demo script #3441
Conversation
Signed-off-by: Ryan Liang <[email protected]>
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 change lowers the security posture by allow setting the password to a preconfigured value, I feel strongly we should not merge a change of this nature.
300428f
to
d2250eb
Compare
@peternied Thanks for the feedback! Lets move our conversation here. This PR is demo approach of one of the potential solutions that me, @DarshitChanpura and @peterzhuamazon discussed. Feel free to drop some thoughts on that open issue in build repo. |
Signed-off-by: Ryan Liang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #3441 +/- ##
============================================
+ Coverage 64.50% 64.52% +0.01%
Complexity 3545 3545
============================================
Files 269 269
Lines 20363 20363
Branches 3375 3375
============================================
+ Hits 13135 13139 +4
+ Misses 5533 5529 -4
Partials 1695 1695 |
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.
@peterzhuamazon shared his perspective from build side and I share the sentiment. Here is an approach that allows us to gradually bring this change in :
- We allow passing an additional inline argument with
initialAdminPassword
- If the argument is not present, we then prompt user during installation script to provide an admin password.
- (For now) If they choose to not provide password we default it to
admin
with a warning message in next release this option will be removed, and in next release we remove it. (For 2.11 it might be too close to make this call especially with CI builds and RC generation)
I believe there are other options that are being looked into to handle the rollout process around changing the default password. Lets reopen this change if the rollout process indicates its the path forward. |
Description
Add a flag to setup default admin:admin in demo script
Enhancement
Issues Resolved
Is this a backport? If so, please add backport PR # and/or commits #
Testing
CI
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.