Skip to content

Commit fbf5f86

Browse files
authored
Set runAsUser uid for nonroot distroless image
Port of tektoncd/pipeline#3342: The distroless nonroot image define a user with the uid 65532. The deployment should use that uid to make sure it works anywhere.
1 parent 28c5d3e commit fbf5f86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/300-deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ spec:
5050
volumes: []
5151
securityContext:
5252
runAsNonRoot: true
53+
runAsUser: 65532
5354
containers:
5455
- name: tekton-dashboard
5556
image: dashboardImage

0 commit comments

Comments
 (0)