Skip to Main Content
The DevOps 2.4 Toolkit
book

The DevOps 2.4 Toolkit

by Viktor Farcic
November 2019
Intermediate to advanced content levelIntermediate to advanced
398 pages
9h 5m
English
Packt Publishing
Content preview from The DevOps 2.4 Toolkit

Automating Jenkins installation and setup

One of the critical parts of Jenkins automation is the management of credentials. Jenkins uses hudson.util.Secret and master.key files to encrypt all the credentials. The two are stored in secrets directory inside Jenkins home directory. The credentials we uploaded or pasted are stored in credentials.yml. On top of those, each plugin (for example, Google cloud) can add their files with credentials.

We need the credentials as well and the secrets if we are to automate Jenkins setup. One solution could be to generate the secrets, use them to encrypt credentials, and store them as Kubernetes secrets or config maps. However, that is a tedious process.

Since we already have a fully configured Jenkins, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The DevOps 2.2 Toolkit

The DevOps 2.2 Toolkit

Viktor Farcic

Publisher Resources

ISBN: 9781838643546Supplemental Content