Allow specifying a redis URL directly#4036
Closed
nogweii wants to merge 1 commit intogoauthentik:mainfrom
nogweii:patch-1
Closed
Allow specifying a redis URL directly#4036nogweii wants to merge 1 commit intogoauthentik:mainfrom nogweii:patch-1
nogweii wants to merge 1 commit intogoauthentik:mainfrom
nogweii:patch-1
Conversation
This allows an admin to specify a custom redis URL overriding the dynamically built one. This is meant for a couple of more advanced use cases: * Allows specifying a UNIX socket path to Redis * Can use a specific user name (rather than the `default` user) allowing for more granular ACLs in Redis 6+ As a side effect, any future keyword arguments to `redis-py` can be passed in immediately before there are specific environment variables for each of them. Signed-off-by: No GUI <14547+nogweii@users.noreply.github.com>
Author
|
friendly ping @BeryJu 😄 |
Member
|
This can be done via custom python settings (see https://goauthentik.io/docs/installation/configuration#custom-python-settings) |
|
Using redis via an unix socket is not an advanced use case and it should be possible to do so by default |
|
Why was this closed? js6pak is correct. |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
I ran into this when trying to set up Authentik in my homelab. Specifically, I'm making a dedicated tiny computer run some security-sensitive software (Authentik, Vault, step-ca) and I'm hoping to minimize the number of listening TCP sockets.
Changes
New Features
Additional
This is meant for a couple of more advanced use cases:
defaultuser) allowing for more granular ACLs in Redis 6+As a side effect, any future keyword arguments to
redis-pycan be passed in immediately before there are specific environment variables for each of them.Signed-off-by: No GUI 14547+nogweii@users.noreply.github.com