Add Velero configuration to .env.sample, README.md, and Ansible playbooks. Update group_vars to include noble_velero_install variable. Enhance documentation for optional Velero installation and S3 integration, improving clarity for backup and restore processes.

This commit is contained in:
Nikholas Pcenicni
2026-03-28 18:39:22 -04:00
parent a4b9913b7e
commit 33a10dc7e9
14 changed files with 378 additions and 8 deletions

View File

@@ -0,0 +1,57 @@
# Velero Helm values — vmware-tanzu/velero chart (see CLUSTER-BUILD.md Phase F).
# Install: **ansible/playbooks/noble.yml** role **noble_velero** (override S3 settings via **noble_velero_*** vars).
# Requires Secret **velero/velero-cloud-credentials** key **cloud** (INI for AWS plugin — see README).
#
# Chart: vmware-tanzu/velero — pin version on install (e.g. 12.0.0 / Velero 1.18.0).
# helm repo add vmware-tanzu https://vmware-tanzu.github.io/helm-charts && helm repo update
# kubectl apply -f clusters/noble/bootstrap/velero/namespace.yaml
# helm upgrade --install velero vmware-tanzu/velero -n velero --version 12.0.0 -f clusters/noble/bootstrap/velero/values.yaml
initContainers:
- name: velero-plugin-for-aws
image: velero/velero-plugin-for-aws:v1.14.0
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
configuration:
features: EnableCSI
defaultBackupStorageLocation: default
defaultVolumeSnapshotLocations: velero.io/csi:default
backupStorageLocation:
- name: default
provider: aws
bucket: noble-velero
default: true
accessMode: ReadWrite
credential:
name: velero-cloud-credentials
key: cloud
config:
region: us-east-1
s3ForcePathStyle: "true"
s3Url: https://s3.CHANGE-ME.invalid
volumeSnapshotLocation:
- name: default
provider: velero.io/csi
config: {}
credentials:
useSecret: true
existingSecret: velero-cloud-credentials
snapshotsEnabled: true
deployNodeAgent: false
metrics:
enabled: true
serviceMonitor:
enabled: true
autodetect: true
additionalLabels:
release: kube-prometheus
schedules: {}