Skip to content

Mount SSH host keys into webservice container

What does this MR do?

Add support to enable presenting the SSH host keys on the instance configuration page (/help/instance_configuration). Currently the users of a self-hosted setup do not have any other way of confirming the host keys fingerprints other than asking the administrators of the service.

Testing

Deploy with the following config:

gitlab:
  webservice:
    sshHostKeys:
      mount: true

If upgrading, it may be required to perform gitlab-rake cache:clear from toolbox container as they are cached in Redis.

Related issues

Closes #2869 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • [DoD] Documented in the /doc directory

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened
Edited by Jason Plum

Merge request reports