From de48914057538031f8c9de12889d757d45f905d9 Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Mon, 15 Jul 2024 00:34:50 +0200
Subject: [PATCH] Added annotation to restart pod all the time.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 27a89ed..3ce5478 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,6 +37,7 @@ deploy:
       --timeout 2m
       --namespace "$NAMESPACE"
       -f "$HELM_CONFIG"
+      --set "podAnnotations.deployed_at=$(date +%Y.%m.%d-%H:%M)"
       --set image.repository="$CI_REGISTRY/telegram-bots/autotex"
       --set image.pullPolicy="Always"
       --set image.tag="latest"
-- 
GitLab