Skip to content

Commit

Permalink
feat: add configurable timezone (mastodon#42)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Campbell <[email protected]>
  • Loading branch information
paolomainardi and timetinytim authored Apr 18, 2024
1 parent d6d3f42 commit 349f76c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ elasticsearch:
replicaCount: 1
ingest:
replicaCount: 1

# -- Timezone for all pods unless overwritten
timezone: UTC
4 changes: 4 additions & 0 deletions templates/configmap-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,7 @@ data:
{{- else }}
CACHE_BUSTER_ENABLED: "false"
{{- end }}
{{- with .Values.timezone }}
TZ: {{ . | quote }}
{{- end }}

3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,9 @@ tolerations: []
# -- Affinity for all pods unless overwritten
affinity: {}

# -- Timezone for all pods unless overwritten
timezone: UTC

# -- Topology Spread Constraints for all pods unless overwritten
# Please note that you need to use `matchLabelKeys` (Kubernetes 1.25+) if you
# want to spread each deployment independently, or override topologySpreadConstraints
Expand Down

0 comments on commit 349f76c

Please sign in to comment.