Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
278 changes: 256 additions & 22 deletions controllers/bsl.go

Large diffs are not rendered by default.

855 changes: 851 additions & 4 deletions controllers/bsl_test.go

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions controllers/velero.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,11 @@ func (r *DPAReconciler) customizeVeleroDeployment(dpa *oadpv1alpha1.DataProtecti
}
}

// Process CA certificates from BackupStorageLocations
if err := r.processCACertificatesForVelero(dpa, veleroDeployment, veleroContainer); err != nil {
return fmt.Errorf("failed to process CA certificates: %w", err)
// Process CA certificates from BackupStorageLocations if backupImages is true or nil (nil means true)
if dpa.BackupImages() {
if err := r.processCACertificatesForVelero(dpa, veleroDeployment, veleroContainer); err != nil {
return fmt.Errorf("failed to process CA certificates: %w", err)
}
}

return nil
Expand Down
Loading
Loading