mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-04 20:24:02 +00:00
add no-relabeling option to backupPVC configmap
Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user