summaryrefslogtreecommitdiff
path: root/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-24 19:55:50 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-24 20:06:27 +0200
commite758dcb05cd4d2d965205d7f8e6a4bf3d6630163 (patch)
treec2602fb431a7840b0fd28d40ce672192d1524439 /roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2
parentcustom image support for collabora code (diff)
add support for nextcloud custom images
Diffstat (limited to 'roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2')
-rw-r--r--roles/apps/nextcloud/templates/pod-with-mariadb.yml.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2 b/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2
index 72f8cb7a..20752490 100644
--- a/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2
+++ b/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2
@@ -7,7 +7,7 @@ spec:
allowPrivilegeEscalation: false
containers:
- name: nextcloud
- image: "nextcloud:{{ item.value.version }}"
+ image: "nextcloud{% if 'custom_image' in item.value %}/{{ item.key }}{% endif %}:{{ item.value.version }}"
securityContext:
runAsUser: {{ nextcloud_app_uid }}
runAsGroup: {{ nextcloud_app_gid }}