From fd453558f359d442481bb7900ac7a06bd6500aad Mon Sep 17 00:00:00 2001 From: Konstantin Renner Date: Mon, 20 Apr 2026 22:27:40 +0200 Subject: [PATCH] fix(velero): Move Schedules to post-crds Same CRD-ordering fix as the barman Certificates: Velero Schedule CRs need velero.io CRDs, which don't exist until the Velero HelmRelease finishes installing. Moving them into post-crds/ lets the dry-run succeed on a fresh bootstrap. Co-Authored-By: Claude Opus 4.7 (1M context) --- kubernetes/infrastructure/post-crds/kustomization.yaml | 1 + .../schedules.yaml => post-crds/velero-schedules.yaml} | 0 kubernetes/infrastructure/velero/kustomization.yaml | 4 +++- 3 files changed, 4 insertions(+), 1 deletion(-) rename kubernetes/infrastructure/{velero/schedules.yaml => post-crds/velero-schedules.yaml} (100%) diff --git a/kubernetes/infrastructure/post-crds/kustomization.yaml b/kubernetes/infrastructure/post-crds/kustomization.yaml index 716313a8..90b1291c 100644 --- a/kubernetes/infrastructure/post-crds/kustomization.yaml +++ b/kubernetes/infrastructure/post-crds/kustomization.yaml @@ -5,4 +5,5 @@ resources: - cloudflare-secret.sops.yaml - cilium-l2.yaml - cnpg-barman-certs.yaml + - velero-schedules.yaml - ../network-policies/ diff --git a/kubernetes/infrastructure/velero/schedules.yaml b/kubernetes/infrastructure/post-crds/velero-schedules.yaml similarity index 100% rename from kubernetes/infrastructure/velero/schedules.yaml rename to kubernetes/infrastructure/post-crds/velero-schedules.yaml diff --git a/kubernetes/infrastructure/velero/kustomization.yaml b/kubernetes/infrastructure/velero/kustomization.yaml index e83169b0..5014a2e9 100644 --- a/kubernetes/infrastructure/velero/kustomization.yaml +++ b/kubernetes/infrastructure/velero/kustomization.yaml @@ -3,4 +3,6 @@ kind: Kustomization resources: - secret.sops.yaml - helmrelease.yaml - - schedules.yaml +# Velero Schedule CRs live in kubernetes/infrastructure/post-crds/ +# (velero-schedules.yaml) so they reconcile after the Velero HelmRelease +# finishes installing velero.io CRDs.