News for hackers. Stuff that matters.
Re:Shifting Gears by batbomb on Monday September 03, 2018 @11:22AM (#17903014)
I wish we could get encrypted credentials a lá travis in a Jenkinsfile. I’ve found most configuration for a job can be in a git repo but you have to manage some things through the web interface, and it’s not that easy securely managing credentials for a Jenkins installation, even with Folders and Roles
Re:Shifting Gears by jstrachan on Monday September 03, 2018 @01:31PM (#17903822)
BTW we use the kubernetes credentials provider plugin in Jenkins X which exposes Kubernetes Secrets as Jenkins Credentials; then the `credentials` step in the `Jenkinsfile` encrypts them from any build logs
Re:Shifting Gears by csanchez on Monday September 03, 2018 @01:32PM (#17903832)
you can fetch the credentials from Kubernetes secrets using this plugin https://jenkinsci.github.io/kubernetes-credentials-provider-... and manage both your Ops and Jenkins credentials the same way
Re:Shifting Gears by Rapzid on Monday September 03, 2018 @02:22PM (#17904103)
Travis recommends storing secrets that dont change between branches via the project settings. Also, secure envars in the Travis config appears to interfere with deep merging on triggered builds.. Hopefully they can do better :)