diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 21:46:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 21:46:18 +0200 |
commit | d89e58a60ff8350b1650610c14996ca0a69e0d70 (patch) | |
tree | c567f913b031898cdd8f4c7fb94609f21587fef6 /roles/apps/coturn/templates/pod-spec.yml.j2 | |
parent | resync preseed files (diff) | |
parent | fix pod manifest permissions (diff) |
Merge branch 'topic/standalone-kubelet'
Diffstat (limited to 'roles/apps/coturn/templates/pod-spec.yml.j2')
-rw-r--r-- | roles/apps/coturn/templates/pod-spec.yml.j2 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/roles/apps/coturn/templates/pod-spec.yml.j2 b/roles/apps/coturn/templates/pod-spec.yml.j2 new file mode 100644 index 00000000..d157af37 --- /dev/null +++ b/roles/apps/coturn/templates/pod-spec.yml.j2 @@ -0,0 +1,32 @@ +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 |