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

Make it possible for esCleaner.py to use a username/password #1318

Merged
merged 1 commit into from
Feb 6, 2019

Conversation

gregoryfranklin
Copy link
Contributor

Resolves #1317

Add optional ES_USERNAME and ES_PASSWORD environment variables in order that esCleaner.py can authenticate against elasticsearch clusters.

…necting to elasticsearch

Signed-off-by: Greg Franklin <gregoryfranklin@rentalcars.com>
@codecov
Copy link

codecov bot commented Feb 6, 2019

Codecov Report

Merging #1318 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1318   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files         162     162           
  Lines        7277    7277           
======================================
  Hits         7277    7277

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d40ea34...c322c49. Read the comment docs.

@black-adder black-adder merged commit cc913d2 into jaegertracing:master Feb 6, 2019
@black-adder
Copy link
Contributor

thanks!

@@ -15,7 +15,13 @@ def main():
print('ARCHIVE ... specifies whether to remove archive indices. Use true or false')
sys.exit(1)

client = elasticsearch.Elasticsearch(sys.argv[2:])
username = os.getenv("ES_USERNAME")
Copy link
Member

Choose a reason for hiding this comment

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

These should be added into the help print

iori-yja pushed a commit to iori-yja/jaeger that referenced this pull request Feb 15, 2019
…necting to elasticsearch (jaegertracing#1318)

Signed-off-by: Iori Yoneji <fivo.11235813@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants