Skip to content

Add config + docs for new redis-sessions

Matthias Käppler requested to merge mk-redis-sessions-config into master

What does this MR do?

Adds ability to use a separate Redis for session data.

Application support for this is not done yet, so using these values is currently a no-op.

I did not add any tests; was going by what !2187 (merged) did, but happy to take pointers.

Related issues

Test plan

  • helm upgrade gitlab . --set global.redis.sessions.host=gitlab-redis-master.default.svc
  • shell into webservice pod
  • cat /srv/gitlab/config/redis.sessions.yml

File should exist and contain:

production:
  url: redis://:aG3LuirbuhljyG8jt69eZMsBX9VfLX5elZREdO8rWWlLZBr64qna4f5WB6LrHGeR@gitlab-redis-master.default.svc:6379
  
  id:

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

Expected (please provide an explanation if not completing)

Edited by Matthias Käppler

Merge request reports

Loading