blob: 7c127c13e34d164088670db3e4df32556598866b (
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
32
33
34
35
36
37
|
apiVersion: v1
kind: Pod
metadata:
name: "coturn-{{ coturn_realm }}"
spec:
securityContext:
allowPrivilegeEscalation: false
runAsUser: {{ coturn_uid }}
runAsGroup: {{ coturn_gid }}
hostNetwork: true
containers:
- name: coturn
image: "instrumentisto/coturn:{{ coturn_version }}"
args:
- --log-file=stdout
resources:
limits:
memory: "1Gi"
volumeMounts:
- name: config
mountPath: /etc/coturn/
readOnly: true
- name: run
mountPath: /var/run
- name: lib
mountPath: /var/lib/coturn
volumes:
- name: config
hostPath:
path: "{{ coturn_base_path }}/{{ coturn_realm }}/config/"
type: Directory
- name: run
emptyDir:
medium: Memory
- name: lib
emptyDir:
medium: Memory
|