-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow legacy VaultKV configuration keys in
kapitan.secrets.vaultkv
(#…
…1249) ## Proposed Changes * Add validation aliases which allow the old envvar style configuration for the VaultKV references backend config through the inventory * Update the vaultkv documentation to note that the envvar style configs in the inventory are deprecated. ## TODO * [x] Document limitation regarding duplicated configs through different field aliases. Due to some implementation details in pydantic-settings, having e.g. the Vault address set both through environment variable `VAULT_ADDR` and initializer field `addr` will cause a validation error unless `extra` is set to `ignore` or `allow` neither of which have the desired effect of protecting users against config errors in the inventory. ## Docs and Tests * [x] Tests added * [x] Updated documentation
- Loading branch information
Showing
5 changed files
with
422 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.