Skip to content

Commit

Permalink
Revert "issue 8249: disable selinux relabel for backupPod (#8250)" (#…
Browse files Browse the repository at this point in the history
…8253)

This reverts commit 0ccdc7c.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
  • Loading branch information
kaovilai authored Sep 27, 2024
1 parent 0ccdc7c commit 42de654
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/exposer/csi_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,6 @@ func (e *csiSnapshotExposer) createBackupPod(
RestartPolicy: corev1.RestartPolicyNever,
SecurityContext: &corev1.PodSecurityContext{
RunAsUser: &userID,
SELinuxOptions: &corev1.SELinuxOptions{
Type: "spc_t",
},
},
},
}
Expand Down

0 comments on commit 42de654

Please sign in to comment.