add TZ and IS_CLOUD env variables
This commit is contained in:
@@ -5,4 +5,4 @@ kind: Kustomization
|
|||||||
images:
|
images:
|
||||||
- name: controller
|
- name: controller
|
||||||
newName: git.jwetzell.com/jwetzell/ontime-operator
|
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 }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.ontime.version | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
|
- name: IS_CLOUD
|
||||||
|
value: "true"
|
||||||
|
{{- with .Values.ontime.prefix }}
|
||||||
- name: ROUTER_PREFIX
|
- name: ROUTER_PREFIX
|
||||||
value: {{ .Values.ontime.prefix | quote}}
|
value: {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.ontime.password }}
|
{{- with .Values.ontime.password }}
|
||||||
- name: SESSION_PASSWORD
|
- name: SESSION_PASSWORD
|
||||||
value: {{ . | quote }}
|
value: {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.ontime.timezone }}
|
||||||
|
- name: TZ
|
||||||
|
value: {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.port }}
|
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/
|
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
|
||||||
ontime:
|
ontime:
|
||||||
version: 4.0.2
|
version: 4.0.2
|
||||||
prefix: ""
|
# prefix: ""
|
||||||
|
# timezone: "UTC"
|
||||||
# password: "password"
|
# password: "password"
|
||||||
|
|
||||||
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
|
# 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