Skip to content

Commit

Permalink
Change nonroot user for examples test
Browse files Browse the repository at this point in the history
With 1001 user run-steps-as-non-root test can fail because of missing
permissions, see #3978

User 65532 is the distroless nonroot user ID and fixes the error
desribed above.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
  • Loading branch information
barthy1 committed May 26, 2021
1 parent 4ced3cb commit f671766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/v1beta1/taskruns/run-steps-as-non-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
podTemplate:
securityContext:
runAsNonRoot: true
runAsUser: 1001
runAsUser: 65532

0 comments on commit f671766

Please sign in to comment.