mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-06 05:25:40 +00:00
Support setting a custom CA bundle to use with a BackupStorageLocation (#2353)
* Support setting a custom CA certificate for a BSL Signed-off-by: Sam Lucidi <slucidi@redhat.com> * update CRDS Signed-off-by: Sam Lucidi <slucidi@redhat.com> * Add changelog for #2353 Signed-off-by: Sam Lucidi <slucidi@redhat.com> * Clean up temp file from TestTempCACertFile Signed-off-by: Sam Lucidi <slucidi@redhat.com>
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
||||
func ValidateObjectStoreConfigKeys(config map[string]string, validKeys ...string) error {
|
||||
// `bucket` and `prefix` are automatically added to all object
|
||||
// store config by velero, so add them as valid keys.
|
||||
return validateConfigKeys(config, append(validKeys, "bucket", "prefix")...)
|
||||
return validateConfigKeys(config, append(validKeys, "bucket", "prefix", "caCert")...)
|
||||
}
|
||||
|
||||
// ValidateVolumeSnapshotterConfigKeys ensures that a volume snapshotter's
|
||||
|
||||
Reference in New Issue
Block a user