We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e3e130 commit ae03152Copy full SHA for ae03152
2 files changed
charts/controller/templates/controller-deployment.yaml
@@ -75,6 +75,8 @@ spec:
75
key: image
76
- name: "IMAGE_PULL_POLICY"
77
value: "{{ .Values.app_pull_policy }}"
78
+ - name: "TZ"
79
+ value: "{{ default 'UTC' .Values.time_zone }}"
80
{{- if (.Values.deploy_hook_urls) }}
81
- name: DEIS_DEPLOY_HOOK_URLS
82
value: "{{ .Values.deploy_hook_urls }}"
rootfs/api/settings/production.py
@@ -34,7 +34,7 @@
34
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
35
# although not all choices may be available on all operating systems.
36
# In a Windows environment this must be set to your system time zone.
37
-TIME_ZONE = 'UTC'
+TIME_ZONE = os.environ.get('TZ', 'UTC')
38
39
# Language code for this installation. All choices can be found here:
40
# http://www.i18nguy.com/unicode/language-identifiers.html
0 commit comments