-
Notifications
You must be signed in to change notification settings - Fork 170
Remove default admin credential references in DEVELOPER_GUIDE #1415
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
Changes from all commits
8dca144
e5e2f39
e6a01eb
2d39a50
02958d3
76de267
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -336,12 +336,14 @@ integTest { | |
| var is_https = System.getProperty("https") | ||
| var user = System.getProperty("user") | ||
| var password = System.getProperty("password") | ||
|
|
||
| if (System.getProperty("security.enabled") != null) { | ||
| // If security is enabled, set is_https/user/password defaults | ||
| is_https = is_https == null ? "true" : is_https | ||
| user = user == null ? "admin" : user | ||
| password = password == null ? "admin" : password | ||
|
Comment on lines
343
to
344
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need update here? Since I saw 2.12 k-NN build is failed with:
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had that change implemented but based on the comment I linked above the change isn't necessary
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From what I understand k-NN doesn't use demo configuration to setup security. Instead it manually configures the required files/settings. Hence the internal_users.yml is never modified and the old password of admin is picked when cluster is spun-up and the config is written to security index. |
||
| } | ||
|
|
||
| systemProperty("https", is_https) | ||
| systemProperty("user", user) | ||
| systemProperty("password", password) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.