Branch: refs/heads/master
Home: https://github.com/jenkinsci/openshift-sync-plugin
Commit: 07811142d3c4f744ad2e1be387357a80049f7b4f
https://github.com/jenkinsci/openshift-sync-plugin/commit/07811142d3c4f744ad2e1be387357a80049f7b4f
Author: Scott Hebert <[email protected]>
Date: 2018-04-11 (Wed, 11 Apr 2018)
Changed paths:
M README.md
M pom.xml
M src/main/java/io/fabric8/jenkins/openshiftsync/Constants.java
M src/main/java/io/fabric8/jenkins/openshiftsync/CredentialsUtils.java
Log Message:
-----------
Add sync of Openshift opaque secrets to Jenkins file credentials
- Opaque secrets can now be synced provided they have a filename attribute
oc create secret generic mysecretfile --from-file=filename=mysecret.txt
oc label secret mysecretfile credential.sync.jenkins.openshift.io=true
// In Jenkinsfile
// the credential will be created by the plugin with the name
'<namespace>-<secretname>'
withCredentials([file(credentialsId: 'namespace-mysecretfile', variable:
'MYFILE')]) {
sh '''
#!/bin/bash
cp ${MYFILE} newsecretfile.txt
'''
}
Commit: a9d32c7537612246e23ad852c500e14a3423c97f
https://github.com/jenkinsci/openshift-sync-plugin/commit/a9d32c7537612246e23ad852c500e14a3423c97f
Author: OpenShift Merge Robot <[email protected]>
Date: 2018-04-11 (Wed, 11 Apr 2018)
Log Message:
-----------
Merge pull request #222 from scoheb/add-file-credentials-sync-2
Add sync of Openshift opaque secrets to Jenkins file credentials
Compare:
https://github.com/jenkinsci/openshift-sync-plugin/compare/1dca8c48aa02...a9d32c753761
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.