feat: Permit specifying annotations for the BackupPVC

Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
This commit is contained in:
Clément Nussbaumer
2025-08-05 16:26:16 +02:00
parent 04fb20676d
commit 248a840918
5 changed files with 23 additions and 7 deletions

View File

@@ -56,6 +56,9 @@ type BackupPVC struct {
// SPCNoRelabeling sets Spec.SecurityContext.SELinux.Type to "spc_t" for the pod mounting the backupPVC
// ignored if ReadOnly is false
SPCNoRelabeling bool `json:"spcNoRelabeling,omitempty"`
// Annotations permits setting annotations for the backupPVC
Annotations map[string]string `json:"annotations,omitempty"`
}
type RestorePVC struct {