From 2f7f5a559bc3619e345f2577b2f9fabce65c9aed Mon Sep 17 00:00:00 2001 From: paulfantom Date: Tue, 7 Jan 2025 18:19:32 +0100 Subject: [PATCH] homeassistant: improvements to fluxcd pre-pull logic --- base/flux-apps/homeassistant-prepull.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/base/flux-apps/homeassistant-prepull.yaml b/base/flux-apps/homeassistant-prepull.yaml index 0d9dfff0..e14fb79c 100644 --- a/base/flux-apps/homeassistant-prepull.yaml +++ b/base/flux-apps/homeassistant-prepull.yaml @@ -5,8 +5,15 @@ metadata: namespace: flux-apps spec: interval: 60m0s + retryInterval: 5m0s path: ./apps/homeassistant/prepull prune: true + wait: true sourceRef: kind: GitRepository name: ankhmorpork + healthChecks: + - apiVersion: batch/v1 + kind: Job + name: pre-pull-image + namespace: homeassistant