add TZ and IS_CLOUD env variables

This commit is contained in:
2025-10-27 19:32:18 -05:00
parent f93da11c94
commit 82b0e84cef
3 changed files with 13 additions and 3 deletions

View File

@@ -35,12 +35,20 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.ontime.version | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: IS_CLOUD
value: "true"
{{- with .Values.ontime.prefix }}
- name: ROUTER_PREFIX
value: {{ .Values.ontime.prefix | quote}}
value: {{ . | quote }}
{{- end }}
{{- with .Values.ontime.password }}
- name: SESSION_PASSWORD
value: {{ . | quote }}
{{- end }}
{{- with .Values.ontime.timezone }}
- name: TZ
value: {{ . | quote }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}

View File

@@ -3,9 +3,11 @@
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
replicaCount: 1
ontime:
version: 4.0.2
prefix: ""
# prefix: ""
# timezone: "UTC"
# password: "password"
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/