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

Automatic determination of KV version #12

Merged
merged 4 commits into from
Sep 12, 2019
Merged

Conversation

ricoberger
Copy link
Owner

@ricoberger ricoberger commented Sep 10, 2019

We use the logic from the Vault cli to determine the used version of the secrets engine. This also fixes #11.

We keep the secretEngine field in the CR, to not introduce a breaking change. The field can also reused later, if we implement other secret engines.

ToDo:

  • Improve description for the secretEngine field
  • Improve comments in the code
  • Improve readme

We use the logic from the Vault cli to determine the used version of the
secrets engine. This also fixes the problem, when a KVv2 secrets engine
was mounted under a nested path.

The secretEngine field in the CR is no longer needed, but stays. So we
do not introduce a breaking change and we can reuse it later if we
implement other secret engines.

TODO:
- Improve description for the secretEngine field
- Improve comments
Improve the description for the CR to make clear, which fields are
required and which fields can omitted.

Replace KV2 with the more common KVv2 format in the code comments.
@ricoberger ricoberger merged commit 0b90dcf into master Sep 12, 2019
@ricoberger ricoberger deleted the fix-path-handling branch September 12, 2019 18:14
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.

KV2 secrets on nested path does not work
1 participant