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

Added Mountpoint Param #31

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

asergeant01
Copy link
Contributor

Pull Request Template

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #4

Type of change

Please delete options that are not relevant.

  • [ X] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

  • Python Version: 3.9
  • Vault Version: Vault 1.6.2+prem

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Mentions:

@Just-Insane

@Just-Insane
Copy link
Owner

Would you be able to add some tests and update the documentation?

I see your PR also updates the default KV Version to v2 and removed/changed some other sections of the code. Unless these are critical changes in order to support the mount point parameter, could they be broken out to another PR?

@asergeant01
Copy link
Contributor Author

I've updated the documentation and reset the kv version to default to v1.

I'm not sure what tests need added additionally? I believe you have tests to check the Environment variables / Args are processed correctly and you have integration tests using hvac which should test the mount path.

The only thing not required for Mount Path is the Envs refactoring, which i changed as i found having to look up positional variables and referencing the return order from the get_envs function a little confusing - hopefully this is straight forward enough that it doesn't warrant a separate PR?

Copy link
Owner

@Just-Insane Just-Insane left a comment

Choose a reason for hiding this comment

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

looks good to me!

@Just-Insane Just-Insane merged commit e6bb66a into Just-Insane:master Apr 15, 2021
@asergeant01 asergeant01 deleted the mountpoint-work branch April 16, 2021 06:52
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.

Add Mount Point customisation
2 participants