Skip to content

Commit

Permalink
Merge pull request #15 from VerizonMedia/fix-java-profiling-for-non-r…
Browse files Browse the repository at this point in the history
…oot-users

Fix JVM profiling for non-root users
  • Loading branch information
edeNFed authored Oct 1, 2020
2 parents 66922d9 + f24afe3 commit a49a25c
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 a49a25c

Please sign in to comment.