Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58970

Backwards compatibility broken with version 2.3.0 for KV1

XMLWordPrintable

      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.

            jetersen Joseph Petersen
            bksaville Brian Saville
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: