Skip to content

Commit fa4dacd

Browse files
committed
fix remote runner
1 parent 2163edf commit fa4dacd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/k8s/environment/runner.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ func job(chart cdk8s.Chart, props *Props) {
299299
Spec: &k8s.PodSpec{
300300
SecurityContext: &k8s.PodSecurityContext{
301301
RunAsNonRoot: ptr.Ptr(true),
302+
RunAsUser: ptr.Ptr(float64(1000)),
302303
},
303304
ServiceAccountName: ptr.Ptr("default"),
304305
Containers: container(props),

0 commit comments

Comments
 (0)