Compare commits
2 Commits
641ee6a8b6
...
d1d1aa45e4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1d1aa45e4 | ||
| d6e5f1fbc9 |
@@ -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.6.2
|
newTag: v1.7.2
|
||||||
|
|||||||
@@ -20,6 +20,13 @@ rules:
|
|||||||
- secrets
|
- secrets
|
||||||
verbs:
|
verbs:
|
||||||
- "*"
|
- "*"
|
||||||
|
# We need to manage config maps
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
verbs:
|
||||||
|
- "*"
|
||||||
# We need to create events on CRs about things happening during reconciliation
|
# We need to create events on CRs about things happening during reconciliation
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ appVersion: v4.1.0
|
|||||||
description: A Helm chart for Ontime
|
description: A Helm chart for Ontime
|
||||||
name: stage
|
name: stage
|
||||||
type: application
|
type: application
|
||||||
version: 1.6.2
|
version: 1.7.2
|
||||||
|
|||||||
8
helm-charts/stage/templates/configmap.yaml
Normal file
8
helm-charts/stage/templates/configmap.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: {{ include "stage.fullname" . }}-env
|
||||||
|
data:
|
||||||
|
{{- if .Values.ontime.reset }}
|
||||||
|
RESET_APP_STATE: "true"
|
||||||
|
{{- end }}
|
||||||
@@ -34,6 +34,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
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 }}
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: {{ include "stage.fullname" . }}-env
|
||||||
env:
|
env:
|
||||||
- name: IS_CLOUD
|
- name: IS_CLOUD
|
||||||
value: "true"
|
value: "true"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
ontime:
|
ontime:
|
||||||
version: v4.1.0
|
version: v4.1.0
|
||||||
|
reset: false
|
||||||
# prefix: ""
|
# prefix: ""
|
||||||
# timezone: "UTC"
|
# timezone: "UTC"
|
||||||
# password: "password"
|
# password: "password"
|
||||||
|
|||||||
Reference in New Issue
Block a user