22// See: https://www.jenkins.io/doc/book/pipeline/jenkinsfile/
33
44def secrets = [
5- [path : params . VAULT_PATH_SVC_ACCOUNT_EPHEMERAL , engineVersion : 1 , secretValues : [
5+ [path : ' insights-cicd/ephemeral-bot-svc-account ' , engineVersion : 1 , secretValues : [
66 [envVar : ' OC_LOGIN_TOKEN_DEV' , vaultKey : ' oc-login-token-dev' ],
77 [envVar : ' OC_LOGIN_SERVER_DEV' , vaultKey : ' oc-login-server-dev' ]]],
8- [path : params . VAULT_PATH_QUAY_PUSH , engineVersion : 1 , secretValues : [
8+ [path : ' app-sre/quay/app-sre-push ' , engineVersion : 1 , secretValues : [
99 [envVar : ' QUAY_USER' , vaultKey : ' user' ],
1010 [envVar : ' QUAY_TOKEN' , vaultKey : ' token' ]]],
11- [path : params . VAULT_PATH_RHR_PULL , engineVersion : 1 , secretValues : [
11+ [path : ' insights-cicd/rh-registry-pull ' , engineVersion : 1 , secretValues : [
1212 [envVar : ' RH_REGISTRY_USER' , vaultKey : ' user' ],
1313 [envVar : ' RH_REGISTRY_TOKEN' , vaultKey : ' token' ]]]
1414]
1515
16- def configuration = [vaultUrl : params. VAULT_ADDRESS , vaultCredentialId : params. VAULT_CREDS_ID , engineVersion : 1 ]
16+ // def configuration = [vaultUrl: params.VAULT_ADDRESS, vaultCredentialId: params.VAULT_CREDS_ID, engineVersion: 1]
1717
1818pipeline {
1919 // Agent configuration - defines where the pipeline runs
@@ -42,7 +42,6 @@ pipeline {
4242 wrap([$class : ' VaultBuildWrapper' ,
4343 vaultSecrets : [
4444 [
45- configuration : configuration,
4645 secretValues : secrets
4746 ]
4847 ]
@@ -65,7 +64,6 @@ pipeline {
6564 wrap([$class : ' VaultBuildWrapper' ,
6665 vaultSecrets : [
6766 [
68- configuration : configuration,
6967 secretValues : secrets
7068 ]
7169 ]
0 commit comments