Skip to content

Commit

Permalink
Explicitely set withPrivileged to false
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
  • Loading branch information
l0rd committed Mar 10, 2017
1 parent ea0c4df commit aaa8d4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ private String createOpenShiftDeployment(String workspaceID,
.withImagePullPolicy(OPENSHIFT_IMAGE_PULL_POLICY_IFNOTPRESENT)
.withNewSecurityContext()
.withRunAsUser(UID)
.withPrivileged(true)
.withPrivileged(false)
.endSecurityContext()
.withLivenessProbe(getLivenessProbeFrom(exposedPorts))
.withVolumeMounts(getVolumeMountsFrom(volumes, workspaceID))
Expand Down

0 comments on commit aaa8d4c

Please sign in to comment.