Skip to content

Is the store_git_keys_in_db parameter still required or functionality valid? #420

@jjarokergc

Description

@jjarokergc

The store_git_keys_in_db parameter appears to be inconsistent with gitlab version 14+ as described in the setup instructions here: https://docs.gitlab.com/ee/administration/operations/fast_ssh_key_lookup.html

If this parameter is set to true, a file is created in /opt/gitlab-shell/authorized_keys that tries to call a non-existent command. Gitlab (at least from version 14) already has commands located in /opt/gitlab/embedded/service/gitlab-shell/bin for the fast lookup of keys.

Setting the parameter to true also creates a dependency failure because host_config.pp attempts to manage File['/opt/gitlab-shell'] before actually creating the user or group git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions