-
Bug
-
Resolution: Fixed
-
Critical
-
None
The latest release is great that it adds support for KV2 secret storage, but it also breaks backwards compatibility. We have many users of Jenkins with their own Jenkinsfiles in various repositories (~300 different references in different places). Instead of requiring the engineVersion: 1 parameter, I would like this to be treated as the default value to preserve the previous behavior.
I'm happy to put together a patch for this, and likely will soon here.
Here is a patch to change this: https://github.com/jenkinsci/hashicorp-vault-plugin/pull/40
I realize that the newer vault library uses 2 as the default, but I still think preserving the previous behavior is the easiest path forward. If you do not like this solution, I could probably also code something up that allows an admin to set the default version globally in Jenkins so we can do it just on our instance and it doesn't affect anyone else.
- links to