[go: up one dir, main page]

Allow kas redis configuration to use `cache` redis configuration

Summary

Currently as seen at https://gitlab.com/gitlab-org/charts/gitlab/-/blob/master/charts/gitlab/charts/kas/templates/_helpers.tpl#L21-22 currently kas is hardcoded to look for and use configuration from the sharedState redis cluster. We would like to have the option to specify a different redis cluster (like cache) and have the settings pulled from that configuration instead.

Steps to reproduce

(Please provide the steps to reproduce the issue)

Configuration used

(Please provide a sanitized version of the configuration used wrapped in a code block (```yaml))

(Paste sanitized configuration here)

Current behavior

Only sharedState Redis server can be used, as is statically configured

Expected behavior

User is able to configure which of the Redis shards to make use of.

Versions

Relevant logs

(Please provide any relevate log snippets you have collected, using code blocks (```) to format)

Edited by Jason Plum