Skip to content

Commit

Permalink
fix(executor): Allow PNS to runAsRaot with injected sidecar. Fixes ar…
Browse files Browse the repository at this point in the history
…goproj#6030

Signed-off-by: Alex Collins <alex_collins@intuit.com>
  • Loading branch information
alexec committed May 26, 2021
1 parent d218ea7 commit edbde68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/testdata/sidecar-injected-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
generateName: sidecar-injected-
spec:
entrypoint: main
securityContext:
runAsNonRoot: true
runAsUser: 8737
podSpecPatch: |
terminationGracePeriodSeconds: 3
containers:
Expand Down

0 comments on commit edbde68

Please sign in to comment.