From 51e71a4d522351585141fa83b0cabe2a817ffad9 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 13 Mar 2025 14:36:33 +0100 Subject: [PATCH] ci(make): pull the latest images Signed-off-by: rjshrjndrn --- scripts/helmcharts/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/helmcharts/Makefile b/scripts/helmcharts/Makefile index 11819ccef..c90e9c277 100644 --- a/scripts/helmcharts/Makefile +++ b/scripts/helmcharts/Makefile @@ -14,3 +14,11 @@ clean: ## Clean up the installation install: ## Install the application OR_VERSION=$(version) OVERRIDE_FILE=$(override_file) openreplay -i $(domain) + +pull: ## Pull the latest version of the application + for image in $(shell kubectl get pods -n app -o jsonpath='{.items[*].spec.containers[*].image}'); do \ + sudo crictl pull $$image; \ + done + +restart: ## Restart the application + kubectl rollout restart deployment -n app