Skip to content

Use File realm authentication instead of index based#10299

Merged
ruflin merged 1 commit intoelastic:masterfrom
ph:cm/use-file-realm-based
Jan 24, 2019
Merged

Use File realm authentication instead of index based#10299
ruflin merged 1 commit intoelastic:masterfrom
ph:cm/use-file-realm-based

Conversation

@ph
Copy link
Copy Markdown
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
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
Copy Markdown
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
Copy Markdown
Contributor

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