Skip to content

Extend encrypted secrets support to Redis

Balasankar 'Balu' C requested to merge support-secret-file-for-redis-config into master

What does this MR do and why?

Extend encrypted secrets support to Redis. Related to omnibus-gitlab#6275 (closed). Follows suite of !45712 (merged) and !108279 (merged)

Testing

  1. Deploy a Redis instance which requires a password to connect.

  2. Configure resque.yml to use this Redis instance, but don't specify a password in there. See that GitLab fails to connect to Redis.

  3. Run rake gitlab:redis:secret:edit and add the following content

    password: '<your-redis-password>'
  4. Restart GitLab and see that it can now connect to Redis.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Balasankar 'Balu' C

Merge request reports

Loading