summaryrefslogtreecommitdiff
path: root/roles/apps/nextcloud
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-04-20 00:45:05 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-04-20 00:45:05 +0200
commit2a8449ea7accaec58b97699ae96fa1d49f27aa59 (patch)
treeaf3a4e133909d318014119f8e9231c4480cdc76f /roles/apps/nextcloud
parentupdate acmetool for sk-cloudia (diff)
finalize acme-reload script for coturn
Diffstat (limited to 'roles/apps/nextcloud')
-rwxr-xr-xroles/apps/nextcloud/templates/nextcloud-occ.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/apps/nextcloud/templates/nextcloud-occ.j2 b/roles/apps/nextcloud/templates/nextcloud-occ.j2
index a79c5335..571aecc4 100755
--- a/roles/apps/nextcloud/templates/nextcloud-occ.j2
+++ b/roles/apps/nextcloud/templates/nextcloud-occ.j2
@@ -13,7 +13,7 @@ set -eu
export CONTAINER_RUNTIME_ENDPOINT="{{ kubernetes_cri_socket }}"
{% endif %}
-pod_id=$(crictl pods -q --state ready --name "$INST_NAME-{{ ansible_nodename }}")
+pod_id=$(crictl pods -q --state ready --name "^nextcloud-$INST_NAME-{{ ansible_nodename }}$")
if [ -z "$pod_id" ]; then echo "Pod not found"; exit 1; fi
container_id=$(crictl ps -q --name '^nextcloud$' -p "$pod_id")