Skip to content

Commit

Permalink
Fix JVM profiling for non-root users
Browse files Browse the repository at this point in the history
  • Loading branch information
edeNFed committed Oct 1, 2020
1 parent 66922d9 commit f24afe3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/cmd/kubernetes/job/jvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ func (c *jvmCreator) create(targetPod *v1.Pod, targetDetails *data.TargetDetails
MountPath: "/var/lib/docker",
},
},
SecurityContext: &v1.SecurityContext{
Privileged: boolPtr(true),
},
},
},
RestartPolicy: "Never",
Expand Down

0 comments on commit f24afe3

Please sign in to comment.