From 6c5f31a2aacc5d5b2b73ce747299f0819d3e8d23 Mon Sep 17 00:00:00 2001 From: jenkins Date: Thu, 18 Jun 2026 19:57:45 -0300 Subject: [PATCH] recovery(flux): make suspend holds explicit --- .../applications/ai-llm/kustomization.yaml | 1 + .../applications/finance/kustomization.yaml | 1 + .../game-stream/kustomization.yaml | 1 + .../applications/health/kustomization.yaml | 1 + .../applications/jellyfin/kustomization.yaml | 1 + .../applications/jenkins/kustomization.yaml | 1 + .../applications/mailu/kustomization.yaml | 1 + .../nextcloud-mail-sync/kustomization.yaml | 1 + .../applications/nextcloud/kustomization.yaml | 1 + .../applications/outline/kustomization.yaml | 1 + .../applications/planka/kustomization.yaml | 1 + .../applications/quality/kustomization.yaml | 1 + .../applications/typhon/kustomization.yaml | 1 + .../vaultwarden/kustomization.yaml | 2 +- .../applications/veles/kustomization.yaml | 1 + .../wallet-monero-temp/kustomization.yaml | 1 + .../applications/xmr-miner/kustomization.yaml | 1 + clusters/atlas/flux-system/gotk-sync.yaml | 1 + clusters/atlas/flux-system/kustomization.yaml | 2 - .../platform/descheduler/kustomization.yaml | 1 + .../platform/gitops-ui/kustomization.yaml | 1 + .../platform/longhorn-ui/kustomization.yaml | 1 + .../resource-guardrails/kustomization.yaml | 1 + .../recovery-suspend-kustomizations.yaml | 176 ------------------ 24 files changed, 22 insertions(+), 179 deletions(-) delete mode 100644 clusters/atlas/flux-system/recovery-suspend-kustomizations.yaml diff --git a/clusters/atlas/flux-system/applications/ai-llm/kustomization.yaml b/clusters/atlas/flux-system/applications/ai-llm/kustomization.yaml index 53bd56b4..3ed99b86 100644 --- a/clusters/atlas/flux-system/applications/ai-llm/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/ai-llm/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/ai-llm targetNamespace: ai prune: true diff --git a/clusters/atlas/flux-system/applications/finance/kustomization.yaml b/clusters/atlas/flux-system/applications/finance/kustomization.yaml index 8cfaff2a..fde0072c 100644 --- a/clusters/atlas/flux-system/applications/finance/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/finance/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/finance prune: true sourceRef: diff --git a/clusters/atlas/flux-system/applications/game-stream/kustomization.yaml b/clusters/atlas/flux-system/applications/game-stream/kustomization.yaml index af9b43c1..d64a9bd3 100644 --- a/clusters/atlas/flux-system/applications/game-stream/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/game-stream/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/game-stream targetNamespace: game-stream prune: true diff --git a/clusters/atlas/flux-system/applications/health/kustomization.yaml b/clusters/atlas/flux-system/applications/health/kustomization.yaml index 1d24cb47..12138371 100644 --- a/clusters/atlas/flux-system/applications/health/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/health/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/health prune: true sourceRef: diff --git a/clusters/atlas/flux-system/applications/jellyfin/kustomization.yaml b/clusters/atlas/flux-system/applications/jellyfin/kustomization.yaml index d180a7f0..132c640d 100644 --- a/clusters/atlas/flux-system/applications/jellyfin/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/jellyfin/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/jellyfin targetNamespace: jellyfin prune: true diff --git a/clusters/atlas/flux-system/applications/jenkins/kustomization.yaml b/clusters/atlas/flux-system/applications/jenkins/kustomization.yaml index 121107a2..4f5ab5da 100644 --- a/clusters/atlas/flux-system/applications/jenkins/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/jenkins/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/jenkins prune: true sourceRef: diff --git a/clusters/atlas/flux-system/applications/mailu/kustomization.yaml b/clusters/atlas/flux-system/applications/mailu/kustomization.yaml index 5ee54096..4f3858dd 100644 --- a/clusters/atlas/flux-system/applications/mailu/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/mailu/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true sourceRef: kind: GitRepository name: flux-system diff --git a/clusters/atlas/flux-system/applications/nextcloud-mail-sync/kustomization.yaml b/clusters/atlas/flux-system/applications/nextcloud-mail-sync/kustomization.yaml index de5a88f2..2d311e37 100644 --- a/clusters/atlas/flux-system/applications/nextcloud-mail-sync/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/nextcloud-mail-sync/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true prune: true sourceRef: kind: GitRepository diff --git a/clusters/atlas/flux-system/applications/nextcloud/kustomization.yaml b/clusters/atlas/flux-system/applications/nextcloud/kustomization.yaml index fd09b252..e4a480f8 100644 --- a/clusters/atlas/flux-system/applications/nextcloud/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/nextcloud/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/nextcloud targetNamespace: nextcloud prune: true diff --git a/clusters/atlas/flux-system/applications/outline/kustomization.yaml b/clusters/atlas/flux-system/applications/outline/kustomization.yaml index 9f385f7d..b56bf2d6 100644 --- a/clusters/atlas/flux-system/applications/outline/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/outline/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/outline prune: true sourceRef: diff --git a/clusters/atlas/flux-system/applications/planka/kustomization.yaml b/clusters/atlas/flux-system/applications/planka/kustomization.yaml index bcece265..3b204cc6 100644 --- a/clusters/atlas/flux-system/applications/planka/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/planka/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/planka prune: true sourceRef: diff --git a/clusters/atlas/flux-system/applications/quality/kustomization.yaml b/clusters/atlas/flux-system/applications/quality/kustomization.yaml index 62db73f2..8de26f7c 100644 --- a/clusters/atlas/flux-system/applications/quality/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/quality/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/quality prune: true sourceRef: diff --git a/clusters/atlas/flux-system/applications/typhon/kustomization.yaml b/clusters/atlas/flux-system/applications/typhon/kustomization.yaml index 7bd49945..9a536b92 100644 --- a/clusters/atlas/flux-system/applications/typhon/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/typhon/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/typhon prune: true sourceRef: diff --git a/clusters/atlas/flux-system/applications/vaultwarden/kustomization.yaml b/clusters/atlas/flux-system/applications/vaultwarden/kustomization.yaml index df95f2ba..7842c262 100644 --- a/clusters/atlas/flux-system/applications/vaultwarden/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/vaultwarden/kustomization.yaml @@ -8,7 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m - suspend: false + suspend: true sourceRef: kind: GitRepository name: flux-system diff --git a/clusters/atlas/flux-system/applications/veles/kustomization.yaml b/clusters/atlas/flux-system/applications/veles/kustomization.yaml index fdb09cc1..6ae77801 100644 --- a/clusters/atlas/flux-system/applications/veles/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/veles/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/veles targetNamespace: veles prune: true diff --git a/clusters/atlas/flux-system/applications/wallet-monero-temp/kustomization.yaml b/clusters/atlas/flux-system/applications/wallet-monero-temp/kustomization.yaml index 4c84f868..baa990f5 100644 --- a/clusters/atlas/flux-system/applications/wallet-monero-temp/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/wallet-monero-temp/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/crypto/wallet-monero-temp targetNamespace: crypto prune: true diff --git a/clusters/atlas/flux-system/applications/xmr-miner/kustomization.yaml b/clusters/atlas/flux-system/applications/xmr-miner/kustomization.yaml index 93e6f1b4..5d939a62 100644 --- a/clusters/atlas/flux-system/applications/xmr-miner/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/xmr-miner/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./services/crypto/xmr-miner targetNamespace: crypto prune: true diff --git a/clusters/atlas/flux-system/gotk-sync.yaml b/clusters/atlas/flux-system/gotk-sync.yaml index b9d38c2c..11de2e4b 100644 --- a/clusters/atlas/flux-system/gotk-sync.yaml +++ b/clusters/atlas/flux-system/gotk-sync.yaml @@ -21,6 +21,7 @@ metadata: namespace: flux-system spec: interval: 1h0m0s + suspend: true path: ./clusters/atlas/flux-system prune: true sourceRef: diff --git a/clusters/atlas/flux-system/kustomization.yaml b/clusters/atlas/flux-system/kustomization.yaml index 3d77d823..9531678b 100644 --- a/clusters/atlas/flux-system/kustomization.yaml +++ b/clusters/atlas/flux-system/kustomization.yaml @@ -6,5 +6,3 @@ resources: - gotk-sync.yaml - platform - applications -patches: - - path: recovery-suspend-kustomizations.yaml diff --git a/clusters/atlas/flux-system/platform/descheduler/kustomization.yaml b/clusters/atlas/flux-system/platform/descheduler/kustomization.yaml index f1466000..eef358c1 100644 --- a/clusters/atlas/flux-system/platform/descheduler/kustomization.yaml +++ b/clusters/atlas/flux-system/platform/descheduler/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 30m + suspend: true path: ./infrastructure/descheduler prune: true sourceRef: diff --git a/clusters/atlas/flux-system/platform/gitops-ui/kustomization.yaml b/clusters/atlas/flux-system/platform/gitops-ui/kustomization.yaml index 5e6c9435..37a0b211 100644 --- a/clusters/atlas/flux-system/platform/gitops-ui/kustomization.yaml +++ b/clusters/atlas/flux-system/platform/gitops-ui/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true timeout: 10m path: ./services/gitops-ui prune: true diff --git a/clusters/atlas/flux-system/platform/longhorn-ui/kustomization.yaml b/clusters/atlas/flux-system/platform/longhorn-ui/kustomization.yaml index e2708dd0..2cfa0f1c 100644 --- a/clusters/atlas/flux-system/platform/longhorn-ui/kustomization.yaml +++ b/clusters/atlas/flux-system/platform/longhorn-ui/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./infrastructure/longhorn/ui-ingress targetNamespace: longhorn-system prune: true diff --git a/clusters/atlas/flux-system/platform/resource-guardrails/kustomization.yaml b/clusters/atlas/flux-system/platform/resource-guardrails/kustomization.yaml index 90260edb..6c8cae1b 100644 --- a/clusters/atlas/flux-system/platform/resource-guardrails/kustomization.yaml +++ b/clusters/atlas/flux-system/platform/resource-guardrails/kustomization.yaml @@ -8,6 +8,7 @@ metadata: kustomize.toolkit.fluxcd.io/ssa: IfNotPresent spec: interval: 10m + suspend: true path: ./infrastructure/resource-guardrails prune: true sourceRef: diff --git a/clusters/atlas/flux-system/recovery-suspend-kustomizations.yaml b/clusters/atlas/flux-system/recovery-suspend-kustomizations.yaml deleted file mode 100644 index 94b779ad..00000000 --- a/clusters/atlas/flux-system/recovery-suspend-kustomizations.yaml +++ /dev/null @@ -1,176 +0,0 @@ -# clusters/atlas/flux-system/recovery-suspend-kustomizations.yaml -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: flux-system - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: ai-llm - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: descheduler - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: finance - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: game-stream - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: gitops-ui - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: health - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: jellyfin - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: jenkins - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: longhorn-ui - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: mailu - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 -kind: Kustomization -metadata: - name: nextcloud - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: nextcloud-mail-sync - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: outline - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: planka - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: quality - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: resource-guardrails - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: typhon - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: vaultwarden - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: veles - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: wallet-monero-temp - namespace: flux-system -spec: - suspend: true ---- -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: xmr-miner - namespace: flux-system -spec: - suspend: true