-
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
[Bug Fix] Fix the demo configuration script and remove the admin credential from internal_user.yml
#3449
Closed
RyanL1997
wants to merge
24
commits into
opensearch-project:main
from
RyanL1997:internal-user-demo-script
Closed
[Bug Fix] Fix the demo configuration script and remove the admin credential from internal_user.yml
#3449
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f63b081
Fix the .sh script for removing admin block and append it to the end …
RyanL1997 91726a3
Delete the original admin from the internal_users.yml
RyanL1997 4ae0900
Change the .bat too
RyanL1997 423b483
Try to add admin credential into internal_users.yml c0
RyanL1997 23731b9
Add ls
RyanL1997 33a9d86
Try to add admin credential into internal_users.yml c1
RyanL1997 61dfac4
Fix DC's comment
RyanL1997 25c6dff
Set up gha step for windows ci runner
RyanL1997 65fca5e
add Get-Location to see where am i
RyanL1997 459a6d2
Where am i for windows
RyanL1997 3a42cc0
Correct the windows runner path
RyanL1997 5a90c32
Enable long path for windows runner
RyanL1997 a2b5dfd
Correct the path again for windows runner
RyanL1997 14f8110
Simplify the windows script
RyanL1997 9bc47e0
Simplify the windows script 1
RyanL1997 de2d7eb
Relocate the logic under the step of integration-tests
RyanL1997 2d2b7bf
Add the logic into integration-tests.yml
RyanL1997 c61a9db
Add cat for debugging on linux
RyanL1997 8b5bcc2
Remove the space
RyanL1997 39aa145
Refactor the position again
RyanL1997 96c1e59
Try single quote for linux
RyanL1997 280e94a
Add type for windows to check user file
RyanL1997 68302de
Add single quote for EOL
RyanL1997 a3fdf3c
Add backtick escape for windows hash
RyanL1997 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,6 @@ _meta: | |
|
||
## Demo users | ||
|
||
admin: | ||
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. Does the cluster fail to startup with this change? Could you include what that looks like? |
||
hash: "$2a$12$VcCDgh2NDk07JGN0rjGbM.Ad41qVR/YFJcgHp0UGns5JDymv..TOG" | ||
reserved: true | ||
backend_roles: | ||
- "admin" | ||
description: "Demo admin user" | ||
|
||
anomalyadmin: | ||
hash: "$2y$12$TRwAAJgnNo67w3rVUz4FIeLx9Dy/llB79zf9I15CKJ9vkM4ZzAd3." | ||
reserved: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 is broken without this section?
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.
Based on the log:
For example, the test of
InitializationIntegrationTests.testDefaultConfig
is using the admin admin credential to send out the request:security/src/test/java/org/opensearch/security/InitializationIntegrationTests.java
Line 287 in 93f79f8