Mounting Generic Secrets
Learn to mount generic Secrets to secure the deployed Jenkins.
Looking into the definition
Let’s see how we can mount the Secret we created. For this, let’s see an updated definition of jenkins.yml. The definition (limited to the relevant parts) is as follows:
-
Lines 19–20: We add
jenkins-credswhich mounts ...