Open suvl opened 4 years ago
Hi Joao, thanks for raising the issue.
It appears there is no good way to automate this except using an environment variable. We can provide a timezone config parameter in helm chart. If the config parameter is set, /etc/localtime will not be mounted on log collector container.
Well, I have some machines running RancherOS, and they don't have
/etc/localtime
as shown:trying to mount directly my timezone also won't work:
I think there might be no
tzdata
on this OS, so it might be helpful to have a way to select it by env var or something.My solution ATM was to add an initContainer linking the expected timezone: