add TZ and IS_CLOUD env variables
This commit is contained in:
@@ -5,4 +5,4 @@ kind: Kustomization
|
||||
images:
|
||||
- name: controller
|
||||
newName: git.jwetzell.com/jwetzell/ontime-operator
|
||||
newTag: v1.1.0
|
||||
newTag: v1.2.0
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user