Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69274

Jenkins in kubernetes - known host file

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • git-client-plugin
    • None

      Running jenkins in kubernetes, we have this new issue:

      The "Global Security" "Git Host Key Verification Configuration " is now configured by default to be "Known hosts file".

      But since we use the base image jenkins/jenkins:alpine, and the kubernetes plugin, the jenkins home folder (/var/jenkins_home) is an empty dir mounted.

       

      => how do we configure such a known host file in such an environment ?

      Thanks for your help !

      ps: we also use Jcasc, in case that helps. And no, I would like to NOT set the ssh setting to "first run"

            markewaite Mark Waite
            jeromebgl jerome g
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: