Skip to content
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

Use File realm authentication instead of index based #10299

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

ph
Copy link
Contributor

@ph ph commented Jan 23, 2019

Instead of relying on the synchronization of the security index while
looking at the status, lets move to a file realm authentication scheme
instead. Also remove jq, because it can produce error on different
version.

NOTES: File realm is used in ES integration tests, from discussion with es-security it will be stable.

Instead of relying on the synchronization of the security index while
looking at the status, lets move to a file realm authentication scheme
instead. Also remove `jq`, because it can produce error on different
version.
@ph ph requested a review from ruflin January 23, 2019 20:53
@ph ph requested a review from a team as a code owner January 23, 2019 20:53
@@ -26,7 +26,7 @@ services:
file: ${ES_BEATS}/testing/environments/${TESTING_ENVIRONMENT}.yml
service: elasticsearch
healthcheck:
test: ["CMD-SHELL", 'python -c ''import urllib, json; response = urllib.urlopen("http://elastic:changeme@localhost:9200/_cluster/health"); data = json.loads(response.read()); exit(1) if data["status"] != "green" else exit(0);''']
test: ["CMD-SHELL", 'python -c ''import urllib, json; response = urllib.urlopen("http://myelastic:changeme@localhost:9200/_cluster/health"); data = json.loads(response.read()); exit(1) if data["status"] != "green" else exit(0);''']
Copy link
Contributor Author

@ph ph Jan 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't useradd the elastic or change the password because it's reserved, so instead, I am creating another super user.

@ruflin ruflin merged commit 23f8a03 into elastic:master Jan 24, 2019
@ruflin
Copy link
Collaborator

ruflin commented Jan 24, 2019

@ph Directly merged this so we can test it today with all the new PR's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants