castellan/releasenotes/notes/fix-vault-flaky-kv-api-version-b0cd9d62a39d2907.yaml
Moisés Guimarães de Medeiros 68c1eb50a0 Replaces _get_api_version with config option
This patch fixes the issue when guessing the KV API version fails.
From now on, a configuration option should be used to set vault's API
version.

Change-Id: I962b29519c189dddf9723689e6aaeed2cac3ff2c
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2020-06-22 17:00:15 +02:00

11 lines
459 B
YAML

---
fixes:
- |
In some situations, vault will not provide KV API version in the options
structure. Vault documentation [1] doesn't cover cases when KV API version
is not provided. A new configuration option, with default value equivalent
to the latest KV API version available (kv_version=2) was added to allow
precise configuration of the KV API being used.
[1] https://learn.hashicorp.com/vault/secrets-management/sm-versioned-kv