summaryrefslogtreecommitdiff
path: root/roles/streaming/ontime/templates/pod-spec.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/streaming/ontime/templates/pod-spec.yml.j2')
-rw-r--r--roles/streaming/ontime/templates/pod-spec.yml.j219
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/streaming/ontime/templates/pod-spec.yml.j2 b/roles/streaming/ontime/templates/pod-spec.yml.j2
new file mode 100644
index 00000000..7b8ed70e
--- /dev/null
+++ b/roles/streaming/ontime/templates/pod-spec.yml.j2
@@ -0,0 +1,19 @@
+hostNetwork: true
+containers:
+- name: ontime
+ image: getontime/ontime:v{{ ontime_version }}
+ imagePullPolicy: Always
+# securityContext:
+# runAsUser: 990
+# runAsGroup: 990
+ volumeMounts:
+ - name: db
+ mountPath: /external/db
+ env:
+ - name: TZ
+ value: "{{ ontime_timezone }}"
+volumes:
+- name: db
+ hostPath:
+ type: Directory
+ path: "{{ ontime_basepath }}/db"