Files
fleet-infra/clusters/lab/backup/velero.yaml
Davide Piu dd74cc05fd fix: Velero kubectl image and AWS plugin version
- kubectl: use bitnami/kubectl instead of deprecated bitnamilegacy/kubectl
- AWS plugin: use v1.11.0 (v1.13.1 does not exist)
2026-02-19 23:31:48 +00:00

79 lines
1.6 KiB
YAML

---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: vmware-tanzu
namespace: flux-system
spec:
interval: 1h
url: https://vmware-tanzu.github.io/helm-charts
---
apiVersion: v1
kind: Namespace
metadata:
name: velero
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: velero
namespace: flux-system
spec:
interval: 1h
targetNamespace: velero
install:
createNamespace: true
chart:
spec:
chart: velero
sourceRef:
kind: HelmRepository
name: vmware-tanzu
interval: 1h
values:
kubectl:
image:
repository: docker.io/bitnami/kubectl
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
initContainers:
- name: velero-plugin-for-aws
image: velero/velero-plugin-for-aws:v1.11.0
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
deployNodeAgent: true
nodeAgent:
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi
configuration:
backupStorageLocation:
- name: default
provider: aws
bucket: velero-backups
default: true
config:
region: eu-central-1
s3ForcePathStyle: "true"
s3Url: http://placeholder:9000
volumeSnapshotLocation: []
credentials:
useSecret: true
secretContents:
cloud: |
[default]
aws_access_key_id=placeholder
aws_secret_access_key=placeholder
schedules: {}