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

retention enviroment vars problem #58

Open
Roma89 opened this issue Jun 7, 2023 · 1 comment · May be fixed by #70
Open

retention enviroment vars problem #58

Roma89 opened this issue Jun 7, 2023 · 1 comment · May be fixed by #70
Assignees

Comments

@Roma89
Copy link

Roma89 commented Jun 7, 2023

Hi All,
I added the env vars to the container:
ICINGADB_RETENTION_HISTORY-DAYS: “60”
ICINGADB_RETENTION_SLA-DAYS: “60”

there is no trace of retention in the configuration icingadb.yml :
{"database":{"database":"icingadb","host":"test","password":"test","port":5432,"type":"pgsql","user":"icingadb"},"redis":{"host":"redis-icingadb","port":6379}}

I saw that a regex is made in the entrypoint:
var myEnv = regexp.MustCompile((?s)\AICINGADB_(\w+?)_(\w+)=(.*)\z)
if i'm not mistaken it doesn't support using the "-" in the variable
Am I doing something wrong or is there an issue?

@Al2Klimov Al2Klimov self-assigned this Apr 19, 2024
@alamp1360
Copy link

Is there any news about that issue? I would need that change as well because my database table gets bigger and bigger every second...

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.

3 participants