Skip to content

Commit

Permalink
Merge pull request #29 from bcgov-nr/fix/readToObject
Browse files Browse the repository at this point in the history
Fix readToObject
  • Loading branch information
andrwils authored Dec 5, 2023
2 parents 010e9ba + 0ce2b94 commit 4979c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/shared/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ pipeline {
intention.startAction("configure")
def vaultAppToken = intention.provisionToken("configure", APP_ROLE_ID)
def vaultApp = new Vault(vaultAppToken)
vaultApp.read("apps/data/prod/${env.PROJECT}/${env.COMPONENT}/production", env, keyTransform: { key -> 'PODMAN_' + key})
vaultApp.readToObject("apps/data/prod/${env.PROJECT}/${env.COMPONENT}/production", env, keyTransform: { key -> 'PODMAN_' + key})
vaultApp.revokeToken()
intention.endAction("configure")
intention.startAction("install")
Expand Down

0 comments on commit 4979c6f

Please sign in to comment.