From 14824c28b863f0028822f3ab92f8b9199cda7322 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 15 May 2021 23:44:29 +0200 Subject: k8s: cleanup CRI socket handling --- roles/apps/coturn/templates/acmetool-reload.sh.j2 | 3 --- 1 file changed, 3 deletions(-) (limited to 'roles/apps/coturn/templates/acmetool-reload.sh.j2') diff --git a/roles/apps/coturn/templates/acmetool-reload.sh.j2 b/roles/apps/coturn/templates/acmetool-reload.sh.j2 index c90c296d..08530583 100644 --- a/roles/apps/coturn/templates/acmetool-reload.sh.j2 +++ b/roles/apps/coturn/templates/acmetool-reload.sh.j2 @@ -18,9 +18,6 @@ while read name; do install -m 0644 -o root -g coturn "$certdir/fullchain" "$SSL_D/cert.pem" install -m 0640 -o root -g coturn "$certdir/privkey" "$SSL_D/privkey.pem" -{% if kubernetes_cri_socket %} - export CONTAINER_RUNTIME_ENDPOINT="{{ kubernetes_cri_socket }}" -{% endif %} pod_id=$(crictl pods -q --state ready --name "^coturn-{{ coturn_realm }}-{{ ansible_nodename }}$") [ -n "$pod_id" ] || exit 42 container_id=$(crictl ps -q --name '^coturn$' -p "$pod_id") -- cgit v1.2.3