Jenkins in kubernetes - known host file

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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"

            Assignee:
            Mark Waite
            Reporter:
            jerome g
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: