From fe58e0b087ae42e58152c0dde9600e8be864e426 Mon Sep 17 00:00:00 2001 From: rohow Date: Wed, 25 Mar 2026 16:11:30 +0800 Subject: [PATCH] local: patch velero suspend for local testing --- flux/clusters/local/kustomization.yaml | 5 +++++ flux/clusters/local/patches/infra-devops.yaml | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 flux/clusters/local/patches/infra-devops.yaml diff --git a/flux/clusters/local/kustomization.yaml b/flux/clusters/local/kustomization.yaml index 27bb5cb..771eb27 100644 --- a/flux/clusters/local/kustomization.yaml +++ b/flux/clusters/local/kustomization.yaml @@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../base +patches: + - target: + kind: Kustomization + name: infra-devops + path: patches/infra-devops.yaml diff --git a/flux/clusters/local/patches/infra-devops.yaml b/flux/clusters/local/patches/infra-devops.yaml new file mode 100644 index 0000000..e68ac33 --- /dev/null +++ b/flux/clusters/local/patches/infra-devops.yaml @@ -0,0 +1,19 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: infra-devops +spec: + patches: + - target: + kind: HelmRelease + name: velero + patch: | + apiVersion: helm.toolkit.fluxcd.io/v2 + kind: HelmRelease + metadata: + name: velero + spec: + install: + remediation: + retries: -1 + suspend: true