@@ -60,6 +60,32 @@ velero_cinder_snapshot_class_name: cinder-csi-snapshot
60
60
velero_s3_plugin_image_source : velero/velero-plugin-for-aws
61
61
velero_s3_plugin_image_version : v1.10.1
62
62
63
+ # The default backup storage location
64
+ # We disable checksums because older Ceph doesn't implement them properly
65
+ velero_default_backup_storage_location : >-
66
+ {{-
67
+ {
68
+ "name": "default",
69
+ "default": True,
70
+ "provider": "aws",
71
+ "bucket": velero_bucket_name,
72
+ "credential": {
73
+ "name": velero_s3_creds_secret_name,
74
+ "key": "s3-creds",
75
+ },
76
+ "config": {
77
+ "s3Url": velero_s3_url,
78
+ "s3ForcePathStyle": True,
79
+ "checksumAlgorithm": "",
80
+ },
81
+ } |
82
+ combine(
83
+ {"caCert": (velero_trust_bundle | b64encode)}
84
+ if velero_trust_bundle
85
+ else {}
86
+ )
87
+ }}
88
+
63
89
# Velero Helm chart config
64
90
velero_chart_name : velero
65
91
velero_chart_repo : https://vmware-tanzu.github.io/helm-charts
@@ -71,19 +97,7 @@ velero_release_defaults:
71
97
configuration :
72
98
features : EnableCSI
73
99
backupStorageLocation :
74
- - name : default
75
- default : true
76
- provider : aws
77
- bucket : " {{ velero_bucket_name }}"
78
- credential :
79
- name : " {{ velero_s3_creds_secret_name }}"
80
- key : s3-creds
81
- config :
82
- s3Url : " {{ velero_s3_url }}"
83
- s3ForcePathStyle : true
84
- # Older Ceph doesn't implement checksums properly
85
- checksumAlgorithm : " "
86
- caCert : " {{ velero_trust_bundle }}"
100
+ - " {{ velero_default_backup_storage_location }}"
87
101
volumeSnapshotLocation : []
88
102
initContainers :
89
103
- name : velero-plugin-for-aws
0 commit comments