feat: 添加恢复配置文件和更新集群配置以支持 Barman S3 备份恢复
这个提交包含在:
@@ -0,0 +1,19 @@
|
|||||||
|
# 恢复 profile 仅部署 infra-devops (Velero),不含 post 层
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: infra-devops
|
||||||
|
namespace: infra-gitops
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
timeout: 15m
|
||||||
|
retryInterval: 1m
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux
|
||||||
|
path: ./flux/infrastructure/infra-devops
|
||||||
|
prune: true
|
||||||
|
wait: true
|
||||||
|
dependsOn:
|
||||||
|
- name: sources
|
||||||
|
- name: secrets
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# 恢复专用 profile — 仅部署 Velero 用于 PVC 恢复
|
||||||
|
# 使用方法: 将 FluxInstance sync.path 临时切换到 flux/clusters/restore
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../base/sources.yaml
|
||||||
|
- ../base/secrets.yaml
|
||||||
|
- infra-devops.yaml
|
||||||
在新议题中引用
屏蔽一个用户