From 4ec956b148e4dad688682a003778c564f032fc6e Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Sat, 4 Jun 2022 21:59:22 +0200 Subject: [PATCH] feat: delete qbittorent pod after job --- cluster/apps/media/qbittorrent/upgrade-p2pblocklist-job.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/apps/media/qbittorrent/upgrade-p2pblocklist-job.yaml b/cluster/apps/media/qbittorrent/upgrade-p2pblocklist-job.yaml index b53266451..ca9deead8 100644 --- a/cluster/apps/media/qbittorrent/upgrade-p2pblocklist-job.yaml +++ b/cluster/apps/media/qbittorrent/upgrade-p2pblocklist-job.yaml @@ -33,4 +33,5 @@ spec: echo $QBITTORRENT_POD | grep qbittorrent test $? -eq 0 && kubectl cp /tmp/ipfilter.dat media/$QBITTORRENT_POD:/config/ipfilter.dat curl -m 10 --retry 5 http://healthchecks.monitoring.svc.cluster.local.:8000/ping/b4651e4f-5058-436b-a237-0df660e9de9e + kubectl delete pod $QBITTORRENT_POD --namespace media restartPolicy: Never