Skip to content

Commit

Permalink
Remove priority from container-build SCC
Browse files Browse the repository at this point in the history
Previously-applied workaround is no longer necessary, as SCC selection
was fixed with eclipse-che/che#21770.

Signed-off-by: Angel Misevski <[email protected]>
  • Loading branch information
amisevsk committed Jan 26, 2023
1 parent 578e953 commit 09b0947
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/deploy/container-build/container_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ func (cb *ContainerBuildReconciler) getSccSpec(ctx *chetypes.DeployContext) *sec
AllowedCapabilities: []corev1.Capability{"SETUID", "SETGID"},
DefaultAddCapabilities: nil,
FSGroup: securityv1.FSGroupStrategyOptions{Type: securityv1.FSGroupStrategyMustRunAs},
// Temporary workaround for https://github.com/devfile/devworkspace-operator/issues/884
Priority: pointer.Int32Ptr(20),
ReadOnlyRootFilesystem: false,
RequiredDropCapabilities: []corev1.Capability{"KILL", "MKNOD"},
RunAsUser: securityv1.RunAsUserStrategyOptions{Type: securityv1.RunAsUserStrategyMustRunAsRange},
Expand Down

0 comments on commit 09b0947

Please sign in to comment.