Skip to content

support NOMAD_CLIENT_CERT and NOMAD_CLIENT_KEY#96

Merged
jrxFive merged 2 commits intojrxFive:masterfrom
erhlee-bird:master
Oct 9, 2019
Merged

support NOMAD_CLIENT_CERT and NOMAD_CLIENT_KEY#96
jrxFive merged 2 commits intojrxFive:masterfrom
erhlee-bird:master

Conversation

@erhlee-bird
Copy link
Collaborator

https://nomadproject.io/guides/security/securing-nomad.html

When using Nomad in a secured fashion, allow the user to specify
environment variables NOMAD_CLIENT_CERT and NOMAD_CLIENT_KEY to
specify custom a cert and key.

This behavior matches that of the official Nomad cli.

https://nomadproject.io/guides/security/securing-nomad.html

When using Nomad in a secured fashion, allow the user to specify
environment variables NOMAD_CLIENT_CERT and NOMAD_CLIENT_KEY to
specify custom a cert and key.

This behavior matches that of the official Nomad cli.
@codecov-io
Copy link

codecov-io commented Sep 11, 2019

Codecov Report

Merging #96 into master will decrease coverage by 0.13%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #96      +/-   ##
=========================================
- Coverage   91.23%   91.1%   -0.14%     
=========================================
  Files          26      26              
  Lines        1038    1034       -4     
=========================================
- Hits          947     942       -5     
- Misses         91      92       +1
Impacted Files Coverage Δ
nomad/__init__.py 97.8% <100%> (ø) ⬆️
nomad/api/exceptions.py 88.88% <0%> (-11.12%) ⬇️

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 b74ac41...7a349ea. Read the comment docs.

Copy link
Owner

@jrxFive jrxFive left a comment

Choose a reason for hiding this comment

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

Hey @erhlee-bird, thanks so much for the PR. Looks good! Only thing I can think of is updating the README.md about what environment variables are supported.

@erhlee-bird
Copy link
Collaborator Author

Thanks for reviewing @jrxFive and the awesome library.
I've added the two new environment variables under the environment variables section in the README.

@jrxFive jrxFive merged commit 641a39e into jrxFive:master Oct 9, 2019
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