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

Adding vault config default env var and allowing setting VAULT_LOCAL_… #2673

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

adam-intel
Copy link
Contributor

@adam-intel adam-intel commented Aug 26, 2020

Adding vault config default env var and allowing setting VAULT_LOCAL_CONFIG variable from the compose file.

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit subject follows the Conventional Commits spec
  • The commit message follows the EdgeX Contributor Guide
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • make test has completed successfully

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number:
edgexfoundry/edgex-docs#135

What is the new behavior?

Enables environment variable override of vault configuration.

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any new imports or modules? If so, what are they used for and why?

Are there any specific instructions or things that should be known prior to reviewing?

Other information

@bnevis-i bnevis-i self-requested a review August 26, 2020 18:41
@bnevis-i bnevis-i added this to the Hanoi milestone Aug 26, 2020
@adam-intel adam-intel force-pushed the vault_config branch 3 times, most recently from 6c8211a to c580342 Compare August 26, 2020 18:59
jim-wang-intel
jim-wang-intel previously approved these changes Aug 26, 2020
Copy link
Contributor

@jim-wang-intel jim-wang-intel left a comment

Choose a reason for hiding this comment

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

LGTM

This allows setting VAULT_LOCAL_CONFIG variable from the compose file.
This was useful in edgexfoundry/edgex-examples#7 to allow edgex to run in docker swarm because 'mlock' needed to be disabled in the configuration.

Signed-off-by: adam-w-mitchell <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Collaborator

@bnevis-i bnevis-i left a comment

Choose a reason for hiding this comment

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

LGTM. Despite PR description, the commit has the conventional commit syntax.

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.

3 participants