diff options
Diffstat (limited to 'roles/apps/mumble/templates/pod-spec.yml.j2')
-rw-r--r-- | roles/apps/mumble/templates/pod-spec.yml.j2 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/roles/apps/mumble/templates/pod-spec.yml.j2 b/roles/apps/mumble/templates/pod-spec.yml.j2 new file mode 100644 index 00000000..5308e72c --- /dev/null +++ b/roles/apps/mumble/templates/pod-spec.yml.j2 @@ -0,0 +1,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 |