Skip to content

Commit

Permalink
✨ Run analyzer container rootless
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Montleon <[email protected]>
  • Loading branch information
jmontleon committed Oct 9, 2024
1 parent 6b050e7 commit 3f3aef4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions task/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,6 @@ func (r *Task) containers(
addon *crd.Addon,
extensions []crd.Extension,
secret *core.Secret) (init []core.Container, plain []core.Container) {
userid := int64(0)
token := &core.EnvVarSource{
SecretKeyRef: &core.SecretKeySelector{
Key: settings.EnvHubToken,
Expand All @@ -1707,9 +1706,6 @@ func (r *Task) containers(
container := &plain[i]
injector.Inject(container)
r.propagateEnv(&plain[0], container)
container.SecurityContext = &core.SecurityContext{
RunAsUser: &userid,
}
container.VolumeMounts = append(
container.VolumeMounts,
core.VolumeMount{
Expand Down

0 comments on commit 3f3aef4

Please sign in to comment.