summaryrefslogtreecommitdiff
path: root/roles/apps/mumble/templates/pod-spec.yml.j2
blob: 5308e72c88a3d6c080b0c37fe43e13290b8633a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
securityContext:
  allowPrivilegeEscalation: false
  runAsUser: {{ mumble_uid }}
  runAsGroup: {{ mumble_gid }}
hostNetwork: true
containers:
- name: mumble
  image: "phlak/mumble:{{ mumble_version }}"
  env:
  - name: TZ
    value: "{{ mumble_timezone }}"
  - name: SUPERUSER_PASSWORD
    value: "{{ mumble_superuser_password }}"
  resources:
    limits:
      memory: "512Mi"
  volumeMounts:
  - name: config
    mountPath: /etc/mumble
    readOnly: true
  - name: db
    mountPath: /srv/mumble/db
volumes:
- name: config
  hostPath:
    path: "{{ mumble_base_path }}/{{ mumble_instance }}/config"
    type: Directory
- name: db
  hostPath:
    path: "{{ mumble_base_path }}/{{ mumble_instance }}/db"
    type: Directory