Hello,
im already desperate about changing my AWX 20.0.0 (running in kubernetes) timezone.
All templates are static Europe/Prague.
For some maintenance jobs im using AWX api to obtain some relevant data ( like job start/finish/status etc.)
Im strugling with API timezone which is set UTC and therefore all my outputs are one hour moved.
In my #/api/v2/config i see:
“time_zone”: “UTC”
I already tryed to forceenv
to pod like
env:
- name: TIME_ZONE
value: Europe/Prague
or
tryed to add volume like:
- mountPath: /etc/timezone
name: awx-configmap-timezone
readOnly: true
subPath: timezone
- mountPath: /etc/localtime
name: awx-configmap-timezone
readOnly: true
subPath: timezone
with config map:
timezone: |
Europe/Prague
but AWX-web ignores any of these settings and date
always return UTC time :
bash-5.1$ date
Sat Mar 5 12:49:21 PM UTC 2022
Is here anyone who can help if its somehow possible to edit /api/v2/config or somehow force pod to use different timezone…
Thank you in advance
Martin