summaryrefslogtreecommitdiff
path: root/roles/streaming/ontime/templates/pod-spec.yml.j2
blob: 7b8ed70ebc373db3c66eb62d44f8d5915600c50c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"