From 3359f912f005168e0d624b42540c231c5c538c2d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 10 Oct 2020 20:56:49 +0200 Subject: nextcloud: add app user to custom images --- roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2') diff --git a/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2 b/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2 index b587cad3..6100a2ab 100644 --- a/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2 +++ b/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2 @@ -2,7 +2,8 @@ securityContext: allowPrivilegeEscalation: false containers: - name: nextcloud - image: "nextcloud{% if 'custom_image' in item.value %}/{{ item.key }}{% endif %}:{{ item.value.version }}" +{# image: "nextcloud{% if 'custom_image' in item.value %}/{{ item.key }}{% endif %}:{{ item.value.version }}" #} + image: "nextcloud/{{ item.key }}:{{ item.value.version }}" securityContext: runAsUser: {{ nextcloud_app_uid }} runAsGroup: {{ nextcloud_app_gid }} -- cgit v1.2.3