the sidecar needs privileges to run chroot commands
This commit is contained in:
parent
da8b224cf0
commit
46247d17ae
@ -265,6 +265,9 @@ func (r *BackupConfigurationReconciler) addSidecar(backupConf formolv1alpha1.Bac
|
||||
},
|
||||
}),
|
||||
VolumeMounts: []corev1.VolumeMount{},
|
||||
SecurityContext: &corev1.SecurityContext{
|
||||
Privileged: func() *bool { b := true; return &b }(),
|
||||
},
|
||||
}
|
||||
var targetObject client.Object
|
||||
var targetPodSpec *corev1.PodSpec
|
||||
|
||||
Loading…
Reference in New Issue
Block a user