Skip to content

Commit ad0b025

Browse files
committed
fix runner
1 parent 3ea85a1 commit ad0b025

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/k8s/environment/runner.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ func job(chart cdk8s.Chart, props *Props) {
300300
SecurityContext: &k8s.PodSecurityContext{
301301
RunAsNonRoot: ptr.Ptr(true),
302302
RunAsUser: ptr.Ptr(float64(1000)),
303+
RunAsGroup: ptr.Ptr(float64(1000)),
304+
FsGroup: ptr.Ptr(float64(1000)),
303305
},
304306
ServiceAccountName: ptr.Ptr("default"),
305307
Containers: container(props),

0 commit comments

Comments
 (0)