1
0
Fork 0
Commit Graph

2 Commits (a235fbd5ac908162e5e9a45655ee8408d1b19b7c)

Author SHA1 Message Date
Dustin 29150f54bb jenkins: Add files.p.b SSH host key
This will allow jobs that need to publish to *files.pyrocufflink.blue*
to verify its SSH host key.
2023-11-10 15:17:06 -06:00
Dustin 10ee364612 jenkins: Add ssh_known_hosts ConfigMap
When cloning/fetching a Git repository in a Jenkins pipeline, the Git
Client plugin uses the configured *Host Key Verification Strategy* to
verify the SSH host key of the remote Git server.  Unfortunately, there
does not seem to be any way to use the configured strategy from the
`git` command line in a Pipeline job, so e.g. `git push` does not
respect it.  This causes jobs to fail to push changes to the remote if
the container they're using does not already have the SSH host key for
the remote in its known hosts database.

This commit adds a ConfigMap to the *jenkins-jobs* namespace that can be
mounted in containers to populate the SSH host key database.
2022-12-10 12:19:33 -06:00