From b616e11bdf50a93e3e4d3f63f238f7e58de652b4 Mon Sep 17 00:00:00 2001 From: agent-company Date: Fri, 29 May 2026 05:04:48 +0000 Subject: [PATCH] fix(flux): move bedag HelmRepository to top-level to fix Flux race condition The bedag HelmRepository was only declared inside flux/docs-site/, causing a race condition where zip-enrichment, holidays, and air-quality HelmReleases would fail with 'HelmRepository not found' if they reconciled before docs-site. Move flux/docs-site/helmrepository.yaml -> flux/bedag-helmrepository.yaml and add it as a top-level resource in flux/kustomization.yaml so it is always available before any HelmRelease that depends on the bedag chart. Closes leeworks-agents/api-company#87 --- .../{docs-site/helmrepository.yaml => bedag-helmrepository.yaml} | 0 flux/docs-site/kustomization.yaml | 1 - flux/kustomization.yaml | 1 + 3 files changed, 1 insertion(+), 1 deletion(-) rename flux/{docs-site/helmrepository.yaml => bedag-helmrepository.yaml} (100%) diff --git a/flux/docs-site/helmrepository.yaml b/flux/bedag-helmrepository.yaml similarity index 100% rename from flux/docs-site/helmrepository.yaml rename to flux/bedag-helmrepository.yaml diff --git a/flux/docs-site/kustomization.yaml b/flux/docs-site/kustomization.yaml index b4a3d7c..0370974 100644 --- a/flux/docs-site/kustomization.yaml +++ b/flux/docs-site/kustomization.yaml @@ -2,5 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - namespace.yaml - - helmrepository.yaml - helmrelease.yaml diff --git a/flux/kustomization.yaml b/flux/kustomization.yaml index fed86ac..5ff246e 100644 --- a/flux/kustomization.yaml +++ b/flux/kustomization.yaml @@ -1,6 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - bedag-helmrepository.yaml - external-secrets - gitea-runner - monitoring -- 2.52.0