Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

redis.conf lost after statefullset update #66

Open
YoranSys opened this issue Feb 23, 2023 · 0 comments
Open

redis.conf lost after statefullset update #66

YoranSys opened this issue Feb 23, 2023 · 0 comments

Comments

@YoranSys
Copy link

YoranSys commented Feb 23, 2023

Currently, when we use Access Control Lists (ACL) or update some configuration with Command-Line Interface (CLI), all changes are lost on pod update, and there is no persistence of the redis.conf file. This behavior is inconvenient as it requires manually recreating the configuration file after each update.

One possible solution is to use the /data directory as the default directory for this file. This approach would allow for the configuration file to persist across updates, ensuring that changes made with ACL or CLI are retained.

To implement this solution, we suggest modifying the secret-utils.yaml file located at https://github.com/Enapter/charts/blob/master/keydb/templates/secret-utils.yaml#L21. Specifically, we recommend updating the file to specify the /data directory as the default directory.

What do you think about it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant