Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set replicas if local storage file enabled #168

Open
Gyzes opened this issue May 24, 2022 · 1 comment · May be fixed by #230
Open

Set replicas if local storage file enabled #168

Gyzes opened this issue May 24, 2022 · 1 comment · May be fixed by #230

Comments

@Gyzes
Copy link

Gyzes commented May 24, 2022

Hi!
I am using authelia in "Deployment" mode. The users file is mounted to each pod as a ConfigMap. But since .Values.configMap.authentication_backend.file.enabled is set to "true", the number of replicas is automatically set to 1 (code).
Is it possible to modify the check for the case when we are sure that the file will be identical on each pod?

Now after every update I have to run kubectl scale --replicas=xxx

@james-d-elliott
Copy link
Member

james-d-elliott commented Jun 10, 2022

This was due to thinking this was a stateful choice, but users can probably get around this by ensuring all pods are restarted (thus we can disable the forced replica count), and we can probably look to making the user DB reload a thing.

@james-d-elliott james-d-elliott linked a pull request Apr 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants