Jenkins by Helm - adminSshKey feature not functioning

2/18/2020

In order to configure the SCM sync configuration plugin with a git repo I need to have an SSH key in my ~/.ssh/ directory of the user running Jenkins master.

When I deployed jenkins via helm I saw that I can provide the SSH key by myself or let jenkins to generate it. So I tried both ways and both are not working. When I let Jenkins generate it, there was no "jenkins-admin-private-key" secret which should be created - Link (Line 173)

When I added the sshKey by myself it didn't work too (No secret was created nor any SSH key found in the container).

Do you have any clue what can cause this issue?

-- eazary
git
jenkins
kubernetes-helm

0 Answers