add no-relabeling option to backupPVC configmap

Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
Scott Seago
2024-10-11 12:34:44 -04:00
parent f02613d2f7
commit b1035dd49d
4 changed files with 35 additions and 0 deletions

View File

@@ -68,6 +68,10 @@ type BackupPVC struct {
// ReadOnly sets the backupPVC's access mode as read only
ReadOnly bool `json:"readOnly,omitempty"`
// 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"`
}
type Configs struct {