Cannot seem to overwrite default settings via environment variables.
Summary
Has anyone else experienced issues with environment variables not overriding the default Mattermost values?
I have tried overwriting the default value by adding it to the mattermost-envs
secret with no success. I have also tried creating an independent secret and adding it to the existingSecretEnvs:
section with no success as well.
Steps to reproduce
Add a value for the MM_SERVICESETTINGS_SESSONLENGTHSSOINHOURS to overwrite the default value of 720
(hours) using either of the methods described above.
What is the current behavior?
Current behavior is that I still see the default value:
What is the expected behavior?
I expect to see my new value of 1
hour instead of 720
and also see the following disclaimer:
Relevant logs and/or screenshots
Describing the Mattermost pod shows that the secret exists:
Manifest has been updated and contains the secret to override the default value as well.
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
/cc {put CODEOWNERs @githandles here}