diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-02 01:21:46 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-02 01:21:46 +0200 |
commit | 821d359cb27f4dd5c71a4309b752b97d14316d42 (patch) | |
tree | 441d8d6c0fb0088a0d97728dc787896d273b560b /roles/streaming/ontime/templates/pod-spec.yml.j2 | |
parent | ele-tarvos: add compansion ssh key to player (diff) |
add quick and dirty role for ontime
Diffstat (limited to 'roles/streaming/ontime/templates/pod-spec.yml.j2')
-rw-r--r-- | roles/streaming/ontime/templates/pod-spec.yml.j2 | 19 |
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" |