summaryrefslogtreecommitdiff
path: root/roles/streaming/ontime/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-04-02 01:21:46 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-04-02 01:21:46 +0200
commit821d359cb27f4dd5c71a4309b752b97d14316d42 (patch)
tree441d8d6c0fb0088a0d97728dc787896d273b560b /roles/streaming/ontime/templates
parentele-tarvos: add compansion ssh key to player (diff)
add quick and dirty role for ontime
Diffstat (limited to 'roles/streaming/ontime/templates')
-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"